Have you tried to earn some money on your blogging? Well, a lot of people do try. Some bloggers can earn a lot of money, others not so much. And I’m in the second group. But it doesn’t hurt to try to have some ads on your blog.
This small guide is to help you place Google Adsense ads in your WordPress blog hosted on your own domain. The easiest way is to go to the Appearance menu on the left and select Widgets. Here you add a new widget to the sidebar of the Text-type. Copy the code for the ad that you got in Google Adsense and past it in the new Text-widget. That’s it.
You can use one of the plugins found at WordPress.org. I haven’t tested any of them, so I can’t say how they are.
If you want to have full controll or just want to do it the hard way, then you edit the code your self. There are three temples you should consentrate on (found in Appearance – Editor). The files are archive.php, index.php and single.php.
At the top of each file, you will find a code similar to this:
You place your Google Adsense-code on line 4 (remember that the number shall not be written to the php-file, it’s only for illustrations). This will place the ad at the top of the page. I usually place the add in a p-tag:
You can offcourse use ads from other associates-programs. remember that you can only use three Google Adsense units/page.
You have to test what placement gives you the best income. Try, test, fail and try again.
If you need more information on Google Adsense, you can take a look at ProBlogger.net. If that’s not enough for you, take a look at Amazon.com. The search for google adsense give you over 600 book titles. Also a relevant keyword in all this is AdWord.
I hope this was helpfull. If you have comments or experience you want to share, please feel free to do so.
I also found a YouTube-video of AdSense optimization where it talks about the placement of ads, well worth a look.
I wanted to find a way to show random content on the sidebar of my blog. I have ads from Amazon.com, Amazon.co.uk and Play-Asia.com and wanted to show different content like best DVDs, best games and so on with out having to have a lot of ads down the page.
After some search on the net, I fond a great plug-in that do show random HTML content. I found Ad Rotator for use with WordPress on kpumuk.info. It’s as easy as downloading the file and install it on your server, just follow the included instructions.
On the widget page on your blog, you add Ad Rotator like any other widget. Just copy & past the reguired HTML code and seperate it with <!–more–> for the next chunk of HTML-code. It works like a charme. And it can also be used to show random content like pictures and banner, or text for that matter, not only ads.
When I started blogging, I used Blogger.com. That is a great place to start for new bloggers. But after some years, it started to be a bit limiting. I wanted to store some files, have better controll over what I upload etc. So I started looking for some alternative. I found WordPress which had everything I needed and I also got my own domain (from One.com) which I do recommand if you blog a lot. It gives you more freedom and there are a lot of cheap options out there.
Since I moved to my own domain in September 2008, WordPress have been updated many times already with bug fixes and new features. So this is great. The fine thing with WordPress is that it’s absolutely free to use, and if you don’t want to buy your own domain, you can sign up for an account at WordPress.com.
This week, WordPress was updated to version 2.7 codenamed Coltrane. The big change in 2.7 is the new interface. To make easy for myself, I quote two paragraphs from WordPress own blog:
Next you’ll begin to notice the new features subtly sprinkled through the new interface: the new dashboard that you can arrange with drag and drop to put the things most important to you on top, QuickPress, comment threading, paging, and the ability to reply to comments from your dashboard, the ability to install any plugin directly from WordPress.org with a single click, and sticky posts.
Digging in further you might notice that every screen is customizable. Let’s say you never care about author on your post listings — just click “Screen Options” and uncheck it and it’s instantly gone from the page. The same for any module on the dashboard or write screen. If your screen is narrow and the menu is taking up too much horizontal room, click the arrow to minimize it to be icon-only, and then go to the write page and drag and drop everything from the right column into the main one, so your posting area is full-screen. (For example I like hiding everything except categories, tags, and publish. I put categories and tags on the right, and publish under the post box.)