Create Google-Style Page Navigation for wordpress

March 26, 2009

It can be very tedious to navigate through a category on a WordPress blog. Your navigation options tend to be limited to “Next Page”/”Previous Page”. Not the most efficient method in the world… When you do a search on Google, you can skip to page 3, 4, 5 or anything else. And once you do, you can always click back to page 1. It makes flicking through a large number of results much, much easier. So, why don’t we recreate that in WordPress by ourself? This bit is easy. Just copy and paste the following... [Read the full story]

Style wordpress posts individually

February 4, 2009

To be able to style posts individually, you have to edit your single.php file and find the line starting with: <div class="post"> Simply change this line to: <div class="post" id="post-<?php the_ID(); ?>"> Once you saved the file, you can style an individual post by using the #post-XXX id: #post-xxx { background: #113355; color:#069; font-weight:bold; }  Read More →

Style author comments in WordPress 2.7

December 31, 2008

Due to the new comments system in WordPress 2.7, and the wp_list_comments() function, you have to change the way you style author comments. With previous WordPress versions, you had to use some hacks to be able to give a special style to author comments. But this isn’t needed with the brand new WordPress 2.7: A specific CSS class is automatically added by WP to author and registered users comments. To style author and registered users on WordPress 2.7, simply paste the following code in your style.css file, and style at... [Read the full story]