Tag Archives: WordPress

WordPress 2.8 Baker – available for download

The new version of WordPress 2.8 Baker is now available for download. The new version have 180 new features, changes and upgrades, and over 790 bugfix.

Here is a video from WordPress.org, showing some of the highlights of the new version.

Here is the highlights of the new version, check out WordPress.org for a full rundown of all the new features.

  • New drag-and-drop widgets admin interface and new widgets API
  • Syntax highlighting and function lookup built into plugin and theme editors
  • Browse the theme directory and install themes from the admin
  • Allow the dashboard widgets to be arranged in up to four columns
  • Allow configuring the number of items to show on management pages with an option in Screen Options
  • Support timezones and automatic daylight savings time adjustment
  • Support IIS 7.0 URL Rewrite Module
  • Faster loading of admin pages via script compression and concatenation

How to use Google Adsense in WordPress blog


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:

1. <?php get_header(); ?>
3. <div id=”content” class=”narrowcolumn”>
5. <?php if (have_posts()) : ?>

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:

<p style=”text-align: center;”>[YOUR CODE HERE]</p>

I do this to center the ad in the blogpost and to give a bit of space around the ad.


You can also add the ad to the bottom of the page. Each of the three mentioned php-files have this code at the bottom:

<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

And you see where you have to place the code. You can also put an ad between the post and the comment. To do this, you have to look for the following code at the bottom of the single.php file:

<?php comments_template(); ?>

The picture bellow shows you how it will look.


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.

WordPress ad rotator widget

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.

WordPress updated to 2.7 “Coltrane”


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.)

They have also put up a video.