Today while browsing through my daily feeds, I noticed a great post over at Performancing about getting your blog organized with categories and tags.  This post got the creative juices flowing a bit and got me thinking about both categories and tags.

I make it a point to engage in discussions regularly with my fellow bloggers about a variety of topics I have an interest in, including blogging, affiliate marketing, internet real estate, etc.   One thing I always like to find out from fellow WordPress users is whether or not they’re using the tag system that was introduced in WordPress 2.3.   What I’ve found are some very diverse responses, ranging from them not understanding how tags work, to some people that actually prefer to just use tags instead of categories.  Of course in the middle are the people that are attempting to use both.

I personally use categories on all of my sites, but only choose to use tags on a few of them.   For the ones that I do use tags on, I make sure to use the Recommended Tags WordPress plugin so I don’t go overboard with the tags I use.

I’d love to get your take on this.  Do you use categories and/or tags on your blog?

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

One of the disappointing changes in WordPress 2.5 was the removal of category ID numbers.   I thought this was just a minor oversight, but since the 2.5.1 upgrade this problem still was not addressed.

If you are looking for a category number (this is most often needed for setting up the homepage of Magazine WordPress themes), here is a really easy way you can locate it until the WordPress team adds the category number display we all took for granted before:

1) Go to Manage > Categories.

2) Hover your mouse over the category that you need the ID of.

3) Look in the lower left corner of your web browser for the ID of that category.

Here is a screenshot example:

Hopefully WordPress will again display the category ID in one of the future updates, but thankfully this workaround is really easy.

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

Here are some great WordPress-related posts I’ve enjoyed over the past week:

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

It has been awhile since I’ve done one of these, so here is a quick post highlighting some interesting posts from around the blogosphere that are related to WordPress.

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

Many WordPress themes are setup to display their category pages in the same format as your blog’s homepage, making your categories useless to some. This can cause duplicate content problems, as well as making your categories difficult to avoid. If this isn’t the case for you, then your theme is probably instead setup to just display a post excerpt for each post on your category page. I’ve never been a fan of this either, as this format strips your post of links/styles and doesn’t give you control over how much of the post to display.

Instead, I’ve always liked the idea of showing only the post titles on your category pages. If you are good at making post titles, this should help someone navigating your categories to find what they are looking for.

First, you’ll want to open your archive.php file and find the post loop. It usually starts with this code (or something similar):

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

You’ll want to delete everything from that code down to the end of the loop, which usually ends with this:

<?php endif; ?>

Now, you’ll want to replace the post loop code with the following slightly different code loop:

<?php $temp_category = single_cat_title('',false); if (!empty($temp_category)){ // give index ?>
<h1><?php single_cat_title(); ?></h1>
<p><?php echo(category_description(the_category_ID(false))); ?></p>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li><br>
<?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php }else{ // give details or single post ?>
...... code for normal post overview
<?php } ?>

And you’re done! You can add<li>, <ol>, and whatever else as needed, and then style your archives page in your stylesheet to get the look you’re trying to achieve.

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! |