Question:
Can you put ads with wordpress?
NY
2009-02-18 21:19:37 UTC
Ive never used wordpress.
I want to start a blog, will be registering a domain.

I want to put adspace on my blog, but Wordpress says ads are not allowed yet? Though I see plenty of blogs with ads on them -- could someone please clarify?

Essentially, I want to have my domain hosted somewhere and have a program for editing/publishing my blog

Any tips in the right direction are appreciated!
Four answers:
2009-02-18 21:51:21 UTC
I believe you can. You can set up Wordpress as the response above indicated. To incorporate, say, Google Adsense, I believe you simply insert the code into your Wordpress template.



For instance, you could create a DIV tag, style its appearance and position, and insert the Adsense code in the DIV tag. Or place the code in the right column above or below the list of your blog's pages. To pull this off, though, you will have to understand HTML, CSS and perhaps PHP, as you will be hand-coding.



I've never done it with Adsense, but I have inserted elements into my Wordpress template which then automatically shows on all pages, so the principle should be the same.



You'll be targeting your active theme's header.php, footer.php, page.php, and sidebar.php pages, plus the accompanying style.css file. The default Worpress theme path is:



/wp-content/themes/default/



in your Wordpress install folder.



To your "Additional Details":

Yes, you can continue to add more ads, if they work on the same principle of giving you raw code to copy and paste into your site. For instance, in your sidebar.php, you could add DIV tags - one for each ad service you wish to use - within the parent DIV on that page and paste your code into each DIV tag you created. The advantage to customizing the themes is that the content simply exists on every page that is henceforth created on that theme (if you change your blog's theme, you'd have to customize the new theme too).

If you do not wish to "tear apart" the default theme, you could also duplicate its folder, give this a name (e.g. mytheme), and install this new theme instead and make your edits on the templates of this theme. The key again is being able to hand-code yourself, unless modules are out there that will do the job automatically (and I'm not aware of one for this purpose).
softwareDev
2009-02-18 21:28:21 UTC
Google's blogger ( blogger.com ) does let you put adsense ads.



It is better to host your own blog, to do this I would recommend buying godaddy's economy package ( $4.00 /mo ), then go to wordpress.org and download the latest release. Create a database using godaddy's menu, write down the database's name password and location, extract the files from wordpress, change the wp-config-sample.php file to wp-config.php with the database information, upload all the files you extracted from the download to your server and you are good to go.
.
2009-02-19 09:47:31 UTC
Make sure you read Google's terms of service. There are ads they do not allow to be run with theirs. If unsure, send them an email and ask.
Aya
2014-07-04 07:51:55 UTC
sure you can put ads on your wp blog. any detail given by google? why


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...