We at Colorlib know a thing or two about creating unique and successful WordPress themes,…
WordPress comes with a taxonomy system to help you sort your content into different topics or sections. Each WordPress install comes with categories and tags which are built in taxonomies. There are some major differences between categories and tags. For example, categories are a hierarchical taxonomy, they can have parent, child, and sibling categories. On the other hand, tags are a non-hierarchical taxonomy and they don’t have parent or child tags.
Categories are supposed to be a broader set of posts. For example, if you run a recipes blog, then you can file your recipes into Everyday, Dinner, Vegetarian and Breakfast categories. Tags, on the other hand, are supposed to be very specific topics. For example, on the same recipes blog you can tag your recipes as italian, lasagna, pizza, etc.
Now that we have talked about the difference between these two taxonomies, lets see how you can use categories more effectively on your WordPress site.
Categories can be a very powerful tool to manage, sort, and display content on your website. They not only help you manage content, they also help your users find the content on your website. Categories are around since the very early days of blogging, so there are lots of plugins and tools, themes, and tutorials that help you do some wonderful things with categories.
In this post, we will discuss some of these great tips and plugins to manage categories in WordPress.
1. Merge, Rename, Change Categories in WordPress
Many new WordPress users do not understand the difference between categories and tags. Hence some of them end up using tags where they should have used categories. This results into theme having too many tags or too many categories on their WordPress site.
Most users realize that after sometime, but by that time they have many posts filed into different categories and tags. Many of these categories and tags are completely unnecessary and can be easily merged into others.
What do you do after you realize that you were using categories incorrectly? Well there is an easy to use plugin called Term Management Tools. Simply install the plugin and it will allow you to merge categories, create new categories by merging tags, changing a tag to a category and vice-versa.
2. Allow Users to Subscribe Categories
Did you know that each category in WordPress has its own RSS feed? Let’s suppose your category URL is:
Then your category’s RSS feed URL will be
You can use this URL to add RSS icons on your category templates. Allow your users to subscribe to a specific category if they want. You can also use this feed anywhere you want, with a feed subscription service like FeedPress or with your email service like MailChimp, Aweber, etc.
3. Adding Category Icons
One of the most frequently asked category hack is how to add an icon or an image to category. Some users want to display this icon in a menu some just want to show it on their category templates.
Try Simple Category Icons plugin, it allows you to add images and icons to not just categories but any taxonomy you want. It also shows the icon in category or taxonomy’s admin view.
You may also need to edit your child theme to display category icons on the front-end of your website. This usually means that you will have to add a template tag into your category archives template.
4. Create Templates for Categories
Most users are not aware of the true power of WordPress theme engine. With very simple changes you can create conditional templates for specific categories on your WordPress site.
By default WordPress uses category.php template to handle category archives. Whether your category is Fruits or Vegetables, same template will be used to display all categories. You can change that by creating different templates for different categories.
Copy the main categories template and paste it in your child theme. Rename it to categories-fruits.php and thats it, now this template will be used to display fruits category page.
Make any changes you want here so that each category page on your site is different and more interesting. You can add a category icon on top or a subscription box so that users can subscribe to individual categories. You can even add sliders to show the top content in each category.
5. Widget Logic for Category Templates
One main problem with sidebar widgets in WordPress is that the same widgets are displayed on every page of your site. Now that we have shown you how to create your own templates for each single category, its time to change the widgets displayed on each category template.
Simply install Widget Logic plugin. This simple plugin allows you control the display of widgets on your site. You can apply conditional checks on widgets, and show/hide them on specific pages.
Widget Logic is not just good for your categories it is also great for all your WordPress pages. for example you can have feedback form or a map in a widget which only displays on your about us page.
6. Assign Categories to Authors
If you run a magazine site and want to assign categories to authors, then all you need to do is install Author Category plugin.
This plugin allows you to restrict authors to categories. Each author will only be able to post in categories they are assigned. Make sure that the users have author user role on your WordPress site. If they have a user role like Editor or Admin then they can edit and post anywhere on your site.
7. Use Excerpts on Category Archives
Last but not the least, you need to use excerpts on your category archive pages. Using full content on your category archives will increase your bounce rate. Users will be able to read more content on each category page without even engaging with your content.
<?php the_content(); ?>
in your category archive templates with
<?php the_excerpt(); ?>
Using excerpts on category archives is also useful for your site’s SEO. For example, a category page can sometimes outrank an individual post on your website. While you may thing that the post is more specific to the search term, the archive page can increase the keyword density. This will make search engines believe that the category page is much relevant to the search term than your individual post.
8. Add Categories to Pages
Unlike posts, WordPress pages do not have categories and tags. This is because Pages are supposed to be a hierarchical post type. The main difference between posts and pages is that Pages are supposed to stay out of chronological order of entries in your blog.
Pages can be organized by creating a nested order of parent and child pages. However, many people use Pages to create different kind of websites and sometimes they need a way to sort the content into different topics.
Post Tags and Categories for Pages plugin allows you to add categories and tags to your WordPress pages. These are the same categories and tags used for posts and will allow pages to appear whenever someone views category and tag archives on your WordPress site.
9. Export All Posts Filed in a Category
WordPress has handy tools to import and export your WordPress data into XML files. This allows users to move their content from one site to another. However, sometimes you may just want to export all posts filed for particular categories.
Simply go to Tools → Export and then click on Posts.
WordPress will now display export options. You can select a category, author, and even a date range to export your WordPress posts. Choose the category you want to export and then click on download export file button. WordPress will prepare an XML file in WordPress export format and send it to your browser for download.
You can then visit Tools → Import on another WordPress site to import these posts.
You can only export one category at a time. If you want to export multiple categories then you will have to repeat the process for each category.
Categories are a powerful tool and using them efficiently can help you as well as your readers a lot. Users will be able to find the content that interests them more easily which means they will spend more time on your site. Let us know your favorite plugins and tips to manage categories on your WordPress site in the comments below.
This tutorial is written by Nick Anderson who operates Dailyhosting which provides WordPress Webhosting, and offers numerous tools.