Separating Your Author Comments in WordPress
July 14, 2008
Have you noticed while visiting some of your favorite blogs that many author comments are styled differently to help the authors comments to stand out? This is something that isn’t overly difficult to implement on your WordPress blog, so I decided to write a quick how-to post explaining how you can easily adjust your WordPress theme to display different styles for each author. First, you’ll need to make some adjustments to the comments.php code. Look for something similar to the following code: <li class="<?php... [Read the full story]
Adding Comment Numbers To Your WordPress Theme
July 14, 2008
This might not be such a bad thing if you don’t get very many comments, but if your blog does get comments it is probably a good idea to show off how many comments you get by numbering them. Here are the steps you can take to easily add numbers to your WordPress theme’s comments section. First thing you will want to do is create a backup your comments.php file. Locate the comments.php file. Locate the code that starts the comment loop. It will look something like this: <?php if ( $comments ) : ?> Place this code... [Read the full story]
Using CSS Sliding Doors with Wordpress Navigation
July 1, 2008
This sliding doors CSS hack allows you to create sophisticated tabs for your navigation bar. Sadly, Wordpress core functions wp_list_pages() and wp_list_categories() don’t allow you to add the required span tag to use this technique. We are going to see how to proceed in order to use sliding doors in our Wordpress theme. Sliding doors, why? There’s many articles available on the web about the sliding doors technique, so I’m not going to talk a lot about it. For people who don’t already know this famous hack, here’s... [Read the full story]
Using the sliding doors hack within Wordpress
July 1, 2008
Let’s use a regular expression, by using the php preg_replace() function. We are going to get our pages (or categories) without displaying it, and passing it as a parameter to preg_replace(). The two remaining parameters will be, of course, our regular expression: The pattern we’re looking for, and this pattern’s replacement. To create this menu, paste the following code instead of the wp_list_pages() (or wp_list_categories()) function in the header.php of your Wordpress theme. To list your pages: <ul id="nav"> <li><a... [Read the full story]
Moving WordPress to Another Server
June 24, 2008
The flexibility of WordPress shines, making this not overly difficult to accomplish. If you aren’t changing your domain name, all you need to do is update your wp-config.php file and upload all of your files to their new server. If you are changing your domain name with your move, here is the information you’ll need: Backup your WordPress database. Download the complete WordPress install to your hard drive and identify the folder as your OLD installation. Login into your old blogs dashboard and update the Settings... [Read the full story]



















