Monthly Archive for August, 2008

Upgrading all my sites to WordPress 2.6.1

WordPress 2.6.1 is out. A maintenance release but for many including myself, it’s the time to move up to 2.6 altogether.

As I look back the past few weeks of testing 2.6 on several blogs, I’m delighted to say it’s been a wonderfully smooth experience. Unlike the upgrade to WordPress 2.5, my sites did not experience much trouble when using WordPress 2.6. I deployed 2.6 on several websites and found it was a breeze to work with. It played well with my themes too. Plugins did not break down. Tonight I’ll be upgrading all my sites running WordPress to 2.6.1 and I hope I won’t run into any problems.

WordPress Multi-Level Drop Down menu using jQuery

WordPress jQuery Multi-Level Drop-Down MenuAs WordPress theme designers, we’re often faced between the choice of going for purely CSS drop-down menu or javascript drop-down menus in our struggle with cross-browser compatibility.

The aim of this short tutorial is help you build a simple multi-level drop-down menu in your WordPress theme using jQuery’s JavaScript library to ensure cross-browser compatibility.

Continue reading ‘WordPress Multi-Level Drop Down menu using jQuery’

Putting a ‘New Post’ image label next to WordPress entries posted within the last 24 hours

New Post Label

… or perhaps entries posted in the last 48 hours? Ever wanted to put a small image label next to your post telling readers “Hey, this post is barely 2 days old. It’s new!”

Of course, putting a new post label is nothing new. But again, this tiny feature does not come with default WordPress. Luckily with just one or two lines of PHP code, you can modify your WordPress theme to label your new entries automatically.

The following code sample shows how you can label your posts with a tiny image ‘new.gif’ if your post is less than 2 days old. Within your latest entries Loop, we’ll put the ‘new.gif’ image label right new to your post title:
Continue reading ‘Putting a ‘New Post’ image label next to WordPress entries posted within the last 24 hours’