In the past we’ve gone over some methods for setting up your theme to separate your author comments in WordPress.   By default, most WordPress themes check the e-mail address to determine who the person is that is leaving the comment.   By adjusting the code to check for the user id instead, you can set up your theme to recognize if you are the author of the post.   This is also beneficial for blogs with multiple authors. 

In addition to separating trackbacks from comments, this is another way you can easily help improve the readers experience when trying to follow a conversation in the comments.    Most people use a different background, but some choose to instead display a logo.   The important thing is that readers can recognize which comments are coming from the author of the post. 

Today I noticed Matt Cutts has written his own tutorial explaining how to highlight author comments in WordPress.   His post also includes the code needed for CSS styling.  If you still haven’t gotten around to doing this on your theme yet, I recommend you check it out!  

Digg This! | Stumble it! | Add to Del.icio.us | | Print This! |

One thing more WordPress bloggers have been doing lately is moving their categories over to a horizontal menu, rather than displaying them in the sidebar.   Depending on the type of blog you run and how well you keep your categories organized, I think this can be a great idea to help manage the website and improve overall navigation.  Doing something like this allows for a much better use of sub-categories, and gives you the option of displaying them in a drop-down to give your blog a much more professional feeling.

If you are interested in moving your WordPress categories into a menu and then displaying sub-categories in a drop-down menu, Anthology of Ideas has taken the time to write a detailed post explaining how to display WordPress categories in a horizontal drop-down menu.   You can also view their menu to see if you like it.  I recommend you check it out before attempting this on your own.

Of course doing this will require the use of Javascript, but the author does a great job of detailing the process and provides the CSS required to style it properly.  Once you have everything up and running correctly, you can then adjust the colors and margins to give your new menu the look and feel you want it to have, as well as fully integrate it into your WordPress theme.

I like the idea of having the sub-categories be drop-down menus, but one downside I see is that displaying categories in a menu sort of eliminates using a traditional menu for your pages.  It would be hard, in my opinion, to achieve a good look with more than one menu, so you then have to find a different way to display your blog pages.   I think you are probably best off using this method mostly if you are trying to achieve a magazine-style look or some sort of a content management system (CMS).

What do you think of moving your categories to a menu and displaying your sub-categories in drop-down boxes?

Digg This! | Stumble it! | Add to Del.icio.us | | Print This! |

This post is being submitted as part of the tutorial blog writing project over at Daily Blog Tips. If you are interested in participating, all tutorials must be submitted by midnight of January 27th, 2008.

Depending on the type of blog you run, you may at some point have an interest in only showing only a short excerpt of a post on your blog’s homepage. This could be for a variety of reasons, ranging from attempting to increase page views to trying to make your homepage more easily navigated and organized.

Another really popular place for using the post excerpt is for your archive pages, which helps you to avoid being penalized for duplicate content by the search engine spiders.

No matter what the reason is, if you are interested in switching some of your templates to show post excerpts, it isn’t very difficult to do. Go to the template you want to make the change on and find the following code:

< ?php the_content(); ?>

Depending on your theme, it may include something in the parenthesis. Change this code to the following:

< ?php the_excerpt(); ?>

This will cause your blog theme to only display the first 55 words (and strip pictures/formatting). If you’d like to add a link to allow readers to then click over and read the full post, you can instead use something like the following excerpt code:

<?php the_excerpt(__(’Continue Reading This Entry’));?>

You can of course adjust the wording to fit your personal needs.

If you’d prefer to show an excerpt longer than 55 words, or want to display your pictures and formating, you’ll have to do a little manual work. You currently have two choices:

More Excerpt

  1. Use the More tag - Once you’ve written your post, you can switch over to Code view in your WordPress Write panel, click where you want the excerpt to stop and click the More button.  (See the screenshot above)
  2. Optional Excerpt field - Paste the part of the post you’d like to display as an excerpt in this field of your WordPress Write panel. It should correctly display everything in the excerpt including links and specific formating.

If you use either of these methods, you’ll notice that your feed is only displaying partial posts. If you’d prefer to have the feed display the entire post, but keep the partial post on your actual website, I recommend using the Full Text RSS Feed WordPress plugin to override this and have the feed display the entire post.

Questions?  Let me know in the comments below.

Digg This! | Stumble it! | Add to Del.icio.us | | Print This! |

Have you ever noticed those cute little smilies that some WordPress bloggers use to show emotions within their posts? Offering these has become quite the trend around the blogosphere.

As a user of WordPress, there are a few WordPress plugins available for you to easily offer smilies to commentators on your blog. My plugin of choice to accomplish this is the Smilies Themer plugin. Once uploaded and activated, you can then pick a smilies theme to use.

A variety of people have submitted smilies themes for this plugin, and many come in a variety of colors. My favorite was provided by Nyssa J Brown called the XPressions Emoticon Pack. You can choose from a variety of colors:

XPressions Emoticon Pack

Digg This! | Stumble it! | Add to Del.icio.us | | Print This! |

We all know that duplicate content can be a problem. People copy your work, re-post it on their website, then you both are penalized for duplicate content! Unfortunately, there isn’t much that can be done about that, but did you know that often blogs have duplicate content within their own blog? The biggest culprit for duplicate internal content is your archives page, which is usually used for categories and monthly archives. Unless you only display partial posts in your archives, you’ll want to make sure Google doesn’t index it. If you aren’t handy with Robots.txt, you can instead use this code to easily tell Google not to index your archive.php page.

<?php if(is_archive()){ ?><meta name="robots" content="noindex"><?php } ?>

You’ll want to grab that code and paste it anywhere in the header of your theme above the closing of the head tag. That way, Google will not index these, and search engines won’t refer traffic to your archive pages instead of your single post pages.

Digg This! | Stumble it! | Add to Del.icio.us | | Print This! |

I’ve been tossing around the idea of writing a post explaining how to install/update WordPress via Fantastico for awhile now. While Fantastico is extremely easy to use, learning the process can take a little while. Now that most web hosts have CPanel and Fantastico available to their users, most people should have access to what is basically a two-click install.

If you’ve been wondering how to do this, today Easy WordPress published a post explaining how to upgrade WordPress via Fantastico. The post goes into great detail and includes screen shots, so you shouldn’t run into any problems. Gobala is also offering support for people still learning the installing process and provides some situation where you wouldn’t want to use Fantastico to update your software.

One problem not covered in the post is that Fantastico often takes way to long to be updated. If you find this is the case, you may want to look into using either WordPress Automatic Upgrade (which I often use), or the Instant Upgrade plugin. These plugins can be used immediately upon a new WordPress software release.

If you prefer to upgrade manually, I recommend you check out this upgrading WordPress guide on WordPress Max.

Digg This! | Stumble it! | Add to Del.icio.us | | Print This! |