Add a Random Header Image To WordPress

My current blog template (Grid Focus by Derek Punsalan 5thirtyone.com) features an icon in the upper right corner that has no personal meaning to me.

I decided to replace it, and while I was at it I would also make the icon a random icon. WordPress has all sorts of random image plugins — some are too powerful and some are not powerful enough.

Since I was going to have to modify the theme’s code anyway, I figured I would just code the random image generator directly and make it do exactly what I wanted it to.

Read moreAdd a Random Header Image To WordPress

Adding a Dynamic Widget Footer to WordPress Using a Sidebar

So I’m now at the point where I’d like to be able to start putting in some advertising slots on this blog for affiliate links and for google adsense ads. That means I need a bit more control over the theme and a bit more “room” to put things. I’m also finding that a lot of widgets in the sidebar need more horizontal space than the two narrow sidebar columns allow.

Fortunately, there’s plenty of unused space in the footer of the blog — so I’m going to move some of the more wordy widgets down there — which should clear space for some 120×600 ads in the sidebars as well as other types of advertising. Also, it will make the Recent Posts and Recent Comments widgets more readable by putting them where they can spread out horizontally.

However, the theme I’m currently using doesn’t have any support for widgets in the footer!

I’m going to have to add those myself. Fortunately, it is very easy to add additional components in WordPress.

Read moreAdding a Dynamic Widget Footer to WordPress Using a Sidebar

Getting WordPress Automatic Upgrade to Work on Pair.com

This was a seriously painful problem for a while. Took a bit of searching to come up with a very easy solution (which would have been even easier if I hadn’t made a typo).

What was happening:

1. Automatic upgrades of some plugins worked — but VERY slowly (as in it took HOURS). And it would ususally hang at the end, but I could reload the web page and everything seemed fine and worked. Obviously not the slick interface that was intended.

2. Some plugins — including the old WordPress Automatic Upgrade plugin — just failed.

Read moreGetting WordPress Automatic Upgrade to Work on Pair.com