I was looking for a piece of code that would allow me to perform a certain action on a WordPress blog’s home page (and only the home page) and thanks to this site, I have it.


< ?php if ( (is_home())&&!(is_paged()) ){ ?>


blah blah blah


< ?php } ?>

For example, if I wanted my Flickr thumbnails to be displayed (via the FlickrRSS plugin) only on the home page, I’d use the following code in my theme’s home.php file:


< ?php if ( (is_home())&&!(is_paged()) ){ ?>


< ?php get_flickrRSS(); ?>


< ?php } ?>

You can see the above example in action here.

I recently updated both Fanmode and this blog to WordPress 2.5 and to my exasperation had to update them again shortly afterwards, this time to version 2.5.1.

(An important security fix! Must upgrade! Or else the internet will explode!)

I then discovered a little quirk with both blogs. Listing categories with subcategories results in some posts being listed twice. Here’s a screencap of what I’m talking about.
WordPress Sideblog 5.1: double post
It’s the exact same post with an identical permalink listed twice.

I checked both blogs and both have the same issue. The exasperating thing is there’s no real consistency; some categories display this quirk while others are fine, some posts are repeated and others are not.

The problem isn’t due to WordPress 2.5 or 2.5.1. The culprit is actually Sideblog, the WordPress plugin I’m using for my sideblog. I had upgraded the plugin on both my sites to the latest version, 5.1, when I updated to WordPress 2.5.1 and after testing things out, I’m convinced Sideblog 5.1 is causing the problem. It’s apparently a returning problem.

Anyway, I reverted to Sideblog 4.5 and things seem to be working fine now. I should probably pass a note to the plugin’s author.

I’m still working on a WordPress theme to call my own. I haven’t done any work coding it per se as I’m currently looking at various themes trying to figure out how I want to accomplish what I want to accomplish. As I mentioned before, I’m not proficient in HTML and CSS and I will have to get a little more comfortable with both before I start putting my own theme together.

Aside from looking at creations by prominent WordPress theme designers, I’m also learning by modding the theme I’m currently using on this site, Blue Zinfandel. Among other things, I’ve altered the colours a little and messed with the fonts a little. Baby steps.
Read more

In the three and a half years I’ve been using WordPress, I’ve always used themes created by others.

When I first installed the content management system, I kept faith with the default theme until I grew sick of it. This took all of five minutes. I then looked around for a look I liked and settled on Hadley Wickham’s classy Rubric theme. I stuck with that for a long time before switching to Kubrick in 2005 and then to Blue Zinfandel last year.

I’ve made minor changes to each of those but I was leery of making drastic overhauls, preferring instead to simply download a new theme whenever I felt the need. With so many free WordPress themes to choose from, why bother creating your own, right?
Read more

WordPress Theme Generator. Brilliant.

Next Page →