New and Exciting Ways to Organize Your WordPress Powered Website
This article is all about how to achieve better organization in WordPress. Whether you consider yourself a blogger or a website administrator, a beginner or a super-guru, there are a few rather easy things that you can do to help your visitors find the information that they are looking for. I have tried my best to make this topic digestible by every level of WordPress user therefore there are no code examples to speak of. Every customization can be made via free and open-source plugins. You can find a list of all plugins mentioned at the bottom of this page. Let’s get things started by looking at the ways that WordPress allows us to organize our posts…
WordPress Provides 2 ways to organize our posts.
These are Categories and Tags.
My Thoughts on Categories
- Categories are required. It is not possible to create a post without first adding it to a category. Due to this fact, I think it is safe to say that most WordPress users are familiar with the concept of categorizing their posts. I mean really, who wants all of their content published as “Uncategorized”
- Categories are Hierarchical. If you so choose, it is possible to arrange your categories in a manner where one category contains many other categories. This is very helpful for organization on sites where the content covers a wide range of topics.
- Categories are Mature The category system has been around in WordPress for a very long time, maybe even since the beginning. Categories are as much of a part of WordPress as posts therefore they have a very mature presence throughout an installation including
- The ability to be used in global site navigation.
- Categories can be displayed on the bottom of single posts views.
- There is a default widget that lists all active categories.
- WordPress themes have the ability to create a link to the previous or next post that is in the same category as the one currently being viewed.
- Categories have a good name The term category is universal. It is broad enough to encompass just about any set of objects. It is hard for me to think of a group of objects that cannot be categorized in some manner.
My Thoughts on Tags
- Tag are Optional I believe that it is the optional nature of tags which can sometimes push new users away from their usage. I know that when they were introduced into WordPress, I had no idea what to do with them and I really had no reason to find out since my site worked just fine without them.
- Tag are not hierarchical Unlike categories, tags cannot be further organized into sub groups.
- Tags are Less Mature
- Tags are not intended to be used as global site navigation.
- To create previous or next post links on single views would require the addition of another navigation structure not provided in the WordPress core.
- Tags have an ambiguous name While I can think of plenty examples of how tags are used in the real world it is hard for me to apply these examples to the scope of a website. You can find tags on items sold at department stores, there are tags on christmas presents, you may even find children playing a game of tag at the playground. The point that I’m trying to make here is that when you apply a common usage of this word to your website, it is hard to visualize a connection; unless, of course, you want to wrap up your website and give it away as a gift.
My Thoughts on the Future
We’ll start this section with a few questions “Don’t you think it would be nice to take control of WordPress… to organize your content in a way that best reflects you? Is it even possible to do so?” The answer to both of these questions is YES. It is easy to add your own personal flair to the way that your posts are organized. Doing so can increase the usability of your site drastically allowing visitors to find the content they are looking for faster. This can be achieved by setting up Custom Taxonomies – a very powerful, hidden feature that is simple to unlock and even easier to use. During the course of this article I will let you know what custom taxonomies are, show you how to use them, help you migrate from a tag-based system to a custom system as well as provided you with real world examples and a few hypothetical examples explaining how you might use this feature to customize your own WordPress Powered website.
Before we get started I think that is important for you to understand what a taxonomy is…
For those of you who cannot watch the video, please visit my Understanding Taxonomy in WordPress page.
Would you Care For a Bowl of Tag Soup?
I’m sure that you’ve been served up a bowl of tag soup in the past. Ever visit a site where every post has an average of 50 tags each? I know I have! When there is an excess of tags their effectiveness seems to fly out the window. In the next section we will be looking at a real world example where an abundance of tags were used. I will walk you through how the same basic information can be displayed using custom taxonomies and a few of the benefits to using a custom system.
Under the microscope we have Hungry Eyeball which is a site based in Portland, OR that posts a large number of art-related events that take place in the city. If you look at the image on the left (click to enlarge), you will notice that there are quite a few tags used on this post. 41 to be exact. Are all these tags necessary? Not in my opinion. Can the information be better expressed in another way? I think so. Let’s give it a closer look, shall we?
Breaking Down the Tags
Here, I have analyzed the tags placing each one into a group based on the information that it conveyed. I was able to determine that there we’re 5 separate types of tags: the artist’s Full Name, the artist’s Last Name, Location of the event, The Type of event, and finally the Neighborhood in which the event takes place. It is easy to see that the artist last names are redundant – as they are already expressed in the full name – and can be removed. There are two tags for the venue where the event takes place. I chose to remove the one that included the word Portland mainly due to the fact that “Redux Portland” is not the correct name for the venue, it is just Redux. I then consolidated the three tags that were used to define the type of event into one word: “Embroidery”. In my opinion, this was the one word in the group that sets this event apart from others.
The Same Basic Information Expressed in a Different Way
Here is a visual example of how the post could be better classified using custom taxonomies instead of the original tag system. First of all, we have minimized the total number of terms from 41 to 26 by cutting down on redundancies. We have also organized the information into sections which will allow readers to easily find the information that they are looking for as well as provide them a sort of “definition” for the term. When I look back at the original example with the tags, I have absolutely no idea what “Iron Pony” or “Redux” refer to. These two names are rather ambiguous until classified correctly as either one could be the name of the venue or a name of an artist in the show.
Organizing your tags into custom taxonomies can be beneficial to both you and your readers.
Live Examples
I have compiled the following live examples for you to look at. Unfortunately, I had a hard time finding more than this. If you or someone you know are using custom taxonomies on your site, feel free to leave a link and a brief description in the comments section at the bottom of this page.
My Design Portfolio
I have seen many other design portfolios in my day. One link that I frequently click on other peoples portfolios is their clients page. It is interesting to see a list of the people and companies that a certain designer has worked for. It is even better if you can see all of the work that the designer has produced for that client. By using a custom taxonomy called “client” and the Taxonomy List Shortcode plugin, I was able to create a page listing all of my clients. Each client name links to a page that contains all of the work the I have completed for them. I have also used the Taxonomy Terms List plugin to display the client’s name on the page containing the individual design.
My Artwork Portfolio
I use repeated symbolism in many of my pieces. I thought that it would be neat to bring this to my visitor’s attention. If you view the symbolism page, you will see a list of all of the symbols that I have chosen to feature. You will also notice that there is an image representing the symbol as well as a description. You can click on each title to view all of the artwork that contain this symbol. The functionality for this page is achieved via the Taxonomy Images Plugin. My art portfolio also has another custom taxonomy powered page for collectors. I thought that it we be neat track where my paintings have ended up over the years. This example is very similar to the clients section in my design portfolio.
WordPress TV
WordPress.tv uses custom taxonomies to help organize the videos that they post. If we navigate to the video of Lorelle VanFossen’s presentation at WordCamp Portland 2009 we will notice that there is a screen shot of the video on the left and a long list of useful information pertaining to the video on the right. The following headings use custom taxonomies to produce the navigation Language, Producer and Speakers. I think that it is very helpful to have the videos organized by the language of the speaker. It is easy to see from the example that (at this time) there are 416 videos available in the English language.
A Movie Database
This example was created by WordPress expert Justin Tadlock who has put together a movie database which uses custom taxonomies to organize movies in a very useful way. If you look down the right side of this Hannah Montana movie, you will see genres, actors, directors, writers, producers and studio. We can easily see that the studio that produced this film is Walt Disney Video and if we click on the link we are brought to a page showing all films by Walt Disney Studio.
Hypothetical Examples
I’ve compiled this list of hypothetical examples in the hopes that it will inspire people to set up their own custom taxonomies. Their true power comes to light when used in an environment that is familiar to you. This list is not exhaustive, but I hope that it will get your gears turning! If you have any ideas about how this list can be expanded, please leave a comment.
Sports blog
This is the first real application for custom taxonomies that I came up with. It just seems so natural to me. If you cover sports of any kind on your blog, I believe that your readers will definitely benefit from setting up custom taxonomies. Imagine if you had a page that listed every player that you have ever written about. Readers could skim through this page and find a link to every post where you mention Shaq Attack. Don’t stop at players though, you could easily organize your posts based on “Teams”, “Coaches” and “Leagues” as well.
Fiction Blog
Do you write fiction? Better yet fantasy fiction? Authors such as J. R. R. Tolkien have created complex worlds where newcomers could really benefit from a glossary. Why not use custom taxonomies to create an interactive glossary by organizing your chapters by the characters or locations featured in the chapter? You can use the taxonomy pages to create definitions and add illustrations too.
Food Blog
Perhaps you write restaurant reviews or commentary on the local food scene. If so, it might be a good idea to organize your blog posts by “Restaurant” or “Entrée”. Another neat idea would be to create a taxonomy named something like “My Experience” with terms such as “Loved it”, “Hated it”, “Great Service”, “Poor Service” or even “Food gave me an Upset Stomach”.
Music Blog
I believe that blogs about music would could also help readers find the content that they are looking for by adding taxonomies for things like “Performer”, “Band”, “Record Label” or “Release”.
Design Portfolio
Turn your website into an interactive resume using custom taxonomies.
- Clients Who did you work for?
- Skills Did you use a specialized skill to complete the project? This taxonomy may possess the following terms: page layout, color separation or color correction
- Tools What did you use to get the job done? This taxonomy may possess terms like: which may possess the following terms: Photoshop, Illustrator, Indesign or a pencil and paper.
Art Portfolio
- Symbolism As shown in the above example, organizing your artwork by symbolism can add a new dimension to your art portfolio enabling viewers to get a feel for some of the thought that goes into your work.
- Collector Organizing your art by collector can help you track the final destination of sold work.
- Medium Creating this taxonomy may be appropriate if you create in a variety of media thus allowing your viewers to find the work created with the media they are interested in.
- Location This is more for you than your visitors, but can be a useful method of inventory tracking. Do you frequently show work at galleries? Is work constantly leaving your hands? By setting up a location taxonomy you can use your website to track the location of your pieces.
- Body of Work This is something that may only appeal to artists who create separate bodies of work but could be a rather good use of a taxonomy.
Useful Taxonomy Plugins
This is a short list of the plugins that I have mentioned in this article as well as a couple of others. If you have made a plugin that makes using custom taxonomies easier, please leave a comment below.
- GD Custom Posts and Taxonomy Tools
- Enables you to create and manage your own custom taxonomies.
Download - Taxonomy Terms List
- Automatically create multiple lists of taxonomy terms associated a given post in the single post view. This one is plug and play, just activate and you’re good to go.
Download - Taxonomy List Shortcode
- Add a shortcode to your WordPress powered site enabling you to create a styled list of terms for any given taxonomy. Useful for creating custom index pages for your taxonomy structures.
Download - Taxonomy Images
- Trick out your categories, tags and custom taxonomies! This plugin enables you to link images from your media library to every term of every taxonomy on your WordPress installation. This plugin also includes a shortcode enabling you to make stylized index page of your taxonomy terms.
Download - Simple Taxonomies
- Another plugin that enables you to create and edit custom taxonomies. Simple Taxonomies also enables you display taxonomies in a few different places throughout your blog.
Download



JLeuze
April 18, 2010This is a great post Michael. Thanks for taking the time to put together that screencast, your food pyramid example gives me a much better idea of how a custom taxonomy could be used.
I’ve been wanting to try out a custom taxonomy on one of my sites, but I wasn’t sure if I wanted to use a plugin or add it to the theme. It looks like there are some good plugin options, so I’ll have to check those out first.
Start a new thread.Michael Fields
April 18, 2010JLeuze,
Thanks for your kind words! Glad that the article helped you to understand what custom taxonomies are. The GD Taxonomy Tools plugin works pretty well, but if you are comfortable writing code I would highly suggest that you write a custom plugin for yourself where you store all additions and customizations like custom taxonomies, additional image size and your own custom functions. This way if you ever decide to change your theme, you won’t have to find all of the custom code and move it to the new theme. It’s a neat little trick that I plan on putting together a small article about. It also really helps for client work -> where if the client decides to change their theme -> they will not loose the customizations… might save you a phone call
John Bacon
April 18, 2010Brief, to the point and easy to follow. Great post for the person wanting to take their site to the next level using custom taxonomies.
Obligate yourself to understand taxonomies by reading this post. Bookmark it. If you don’t do it now, you owe it to yourself and your users to use taxonomies by the time you get to WordPress 3.0.
http://wordpress.org/extend/plugins/custom-post-type-ui/ is a great plugin too.
Start a new thread.Michael Fields
April 18, 2010Hi John, thanks for writing and I agree, that does look like a great plugin! If anyone reading wants to take the ideas in this article to the next level, I highly suggest that they download Custom Post Type UI and play around on a test server somewhere. There’s a helpful screencast on the plugin’s page as well.
Lee Willis
April 18, 2010Hi Michael,
A great writeup on why people should use taxonomies – it’s a difficult concept to explain to people – but can make the world of difference as to how easily people can navigate content.
Cheers
Start a new thread.Lee
Michael Fields
April 19, 2010Lee, Thanks! I totally agree… If only there was support in the administration panels people might get adventurous… just sayin’ Glad you liked the article
Mac_Boy
April 18, 2010Excellent illustration on how to go from tag-soup to an organized catalog!
Now that you’ve explained the “why” aspect, its time to dive into the nuts-n-bolts of “how”.
Build a recipe catalog as an example by using a specific plugin (or more), modifying theme files, etc. It would have pix, multiple taxonomy elements, posts, comments, etc.
The 2nd quarter is upon us!
Thanks for a nice article!
Start a new thread.Michael Fields
April 19, 2010Thanks Mac Boy. I’ve eaten many a bowl of the dreadful slop in the past couple of years! Just trying to do my part to inform people that there are alternatives. A recipe catalog sounds like an interesting use of custom taxonomies although it is a bit outside of my realm of knowledge. If you decide to write it up, I would gladly link to the article.
dragonian
May 2, 2010this is just what i need for the new video/movie site i am developing. i was searching google and found this post. thanks for explaining. before i discovered this blog, i was thinking to use pod (cms plugin) but i think that is too complicated for me because i have to go down and dirty and write code. i believe this taxonomy thing will allow me to pull this thru. again, you never know how much you have helped me. i was brainstorming for the past 2 days regarding how i should structure my site. now everything is crystal clear.
Start a new thread.Michael Fields
May 11, 2010dragonian,
Thanks for writing. Glad you found the article and that it has helped you to better visualize a way of organization for your site. I have only played around with the pods plugin briefly and I agree with you that it is usually overkill. I would rather use WordPress’s built in functionality to achieve similar results where possible. The soon-to-be-released custom content types feature in 3.0 in conjunction with custom taxonomies will open up a world of customization possibilities that I am looking forward to.
dragonian
May 2, 2010just to add on to my comment. forgot to mention. i was reading about taxonomy in wordpress for ages. i didn’t noticed it and didn’t care about it. i thought taxonomy is a branch of science. way back in high school. i was wrong. it is more than that. and very powerful i believe.
Start a new thread.Michael Fields
May 11, 2010Same here! It kinda sounds like some hideous disease or something
Leaf.
May 10, 2010While i WANT to love taxonomies, I’m just not sure I can. Which is less-than ideal after I’ve built an entire site around them.
While they rock, they lack meta title and description support (don’t they?). It’s a nightmare. And while there are several work-arounds that allow you to define meta titles to the taxonomy level, there are none that do so to the term level.
So, if you care about SEO, and unless you’re happy with multiple, multiple duplicate title/description tags, custom taxonomies really suck.
I hope I’m really wrong, but I have looked around online and I can’t see any solutions. Please advise, somebody, anybody.
Start a new thread.Michael Fields
May 11, 2010Leaf,
I think that you are right -> The taxonomies themselves do lack title & description meta information, but this can easily be supplemented by the use of a page that lists all terms of a given taxonomy. If you follow this practice, You can use all of the features of the page to add the meta to your theme and enhance the metadata with any one of the popular SEO plugins for WordPress.
As for meta data on the term level, WordPress natively supports both title and description of every term regardless of the taxonomy it is associated with. You will most likely need to do a simple theme mod to display this information in the html meta tags in your theme’s header.php file.
I don’t really understand what you are referring to here, If you could clarify in detail, I might be able to think up a solution.
Best wishes,
-Mike
Leaf.
May 12, 2010Thanks for the follow-up Mike. I’m starting to think my problem might be theme-specific; the theme I’m using uses index.php for both the index (obviously) and the archives. So perhaps the grief I’m having calling taxonomy titles and descriptions stems from this..?
Michael Fields
May 12, 2010No problem, I would agree that a theme set up like this can be a bit of a pain but luckily you can use WordPress’ Template Hierarchy feature to ease some of this pain. I would suggest that you create a new file in your active theme called taxonomy.php and play around with displaying the term data in this template.
The fastest way I know to get the information you are looking for is to use the get_queried_object() method of the $wp_query object. Give this example a try in you taxonomy.php file:
If you need more info, the following code block should illustrate all of the available properties of the $term object:
Hope this helps!
Leaf.
May 13, 2010wow: thanks for this. I will (attempt) to consume and test it. Will get back to once I HAVE. THANKS AGAIN.
tex88
May 11, 2010Great stuff Mike, thanks! I think I’m going to use Custom Taxonomies a lot in a wp site I’m about to build.
But I have a question about the UI when adding a term to a post. Like tags, there is just a text-input, and a few ‘most popular terms’ links. But one of my taxonomies (“Industries”) will have about 100 terms, and I don’t think I can rely on my client remembering the exact term to type manually. So I wonder.. do you know if the UI can be CheckBoxes (how Categories are handled) or a Select-Multiple Box?
Thanks! -Todd
Start a new thread.Michael Fields
May 11, 2010Thanks Todd! The easiest solution to would be in WordPress 3.0 to register the taxonomy as hierarchical and WordPress will create a checkbox-based user interface for you.
tex88
May 11, 2010Wow. Yep, that’s easy! Thanks again Mike.
graq
May 11, 2010Am I right in thinking that taxonomies can apply to a range of different types of things (posts, media items..). Is there a way to apply them to Users? The goal being to define a group of users as having a set of properties.
Start a new thread.Michael Fields
May 11, 2010Yes. Just about any object can have taxonomies defined. Some objects – like media – do not have a built-in interface though.
While this is possible – it will require some custom coding. WordPress does not technically support this, but the groundwork is in place if you care to take things to the next level.
Rick
July 29, 2010I’m looking into applying taxonomies to users too, but there’s a drawback I’m not sure how to figure out. Since posts and users are saved in different tables, they use different sets of IDs, so it’s impossible to store user-tax relationships in the same table that stores post-tax relationships because, despite being completely different things, a user and a post can have the same ID number.
A possible workaround could be to create a second table exactly like wp_term_relationships, but for user-tax relationships only. This way you could separately list users by taxonomy and posts by taxonomy, but if you want a category to apply to both I can’t yet see a way to list them all together.
Any thoughts?
Michael Fields
July 29, 2010Rick,
I too have given this some thought in the past and while it is definitely a custom application of the taxonomy system, I believe it to be totally feasible working with what WordPress has already provided us. If you take a look at the pre-installed taxonomies, you will notice that one sticks out like a sore thumb: Link Categories. Why do they stick out? 1. I never, ever use them and 2. Links are stored in a completely different database table, much like Users. Although I have never tested this, I would strongly suggest studying the WordPress link system to figure out how they have pulled it off.
Hope this helps
Rick
July 30, 2010Great idea, Michael! I’ll look into it and post here if I get to something worth mentioning
Thanks!
Mac_Boy
May 14, 2010Can a hiearchical taxonomy be displayed as a menu pull-down (select or multiple-select) instead of a set of checkboxes?
That way, a txonomy with more than 10 terms can be less daunting within the admin interface.
Start a new thread.Michael Fields
May 14, 2010Currently, no. But I was thinking about creating something like this… not sure if I will though. I totally agree with you about the checkbox interface being a bit large especially if you have three of them set up for posts (like me). It’s a pain to have to scroll around to find the taxonomy box and then back up to the content to see what else you might like to add as a taxonomy.
shawn
May 15, 2010Please consider this addition would make things much cleaner.
Would also love to see the addition to the post edit tax box, where I can add/edit the tax right there. So if a tax does not exist, and the user is adding a new one, the user can add in the tax description, and image (your image plugin).
Then at least I am not asking my user to leave the post-edit screen just to ‘complete’ the tax.
Michael Fields
May 15, 2010I think that a thickbox interface may be the way around this issue. I’ll see what I can come up with. Might not be for a bit though… need to finish a few other projects before I get to it.
Pingback:Everything You Need to Know About WordPress Custom Post Types | WordCast - WordPress podcast, Blogging podcast, Blogging news, WordPress plugins, WordPress themes, WordPress news
Steve Media
July 13, 2010Thanks for these great examples; you have opened up my mind to think about the taxonomy uses in different ways than I originally had envisioned using them. When I first started reading about taxonomy I had on way of using them in my mind, and now I see there are many more uses as well! I am wondering now though if my first ideas about using them will get deployed by any theme or plugin designers..
Here is my thought, and correct me if I am wrong or far off..
I can set taxonomies like “small product” and “large product” for some posts, and have my theme display a different page layout if it detects that there is a “product” taxonomy set to the post?
That was my first though of using them.. and now I am thinking perhaps it would be easier for a site that featured a lot of products, or art, or media, etc to maybe show a different page layout for posts that were not labeled with product.. that way a majority of the posts created would not have to have a checkbox selected.. and the standard contact pages and such could have.
However it is best done for the end user and in which order, I guess my question is how easy would it be to display a different page layout, and perhaps a different sidebar layout depending upon taxonomies that were set.. From my first reading about them, I had thought this would be a great tool for just that, but I have not seen any code or themes that are set to take advantage of such, I have noticed that suffusion theme says something about using tax, but haven’t tested one out to see how it uses them.. I wonder if it would take a plugin on top of theming to do what I am thinking here..
Start a new thread.Jane Wells
August 2, 2010Here’s official confirmation: WordPress.tv does use custom taxonomies for the fields displayed to the right of each video, like Producer, WordPress Version, etc. It was one of the first sites to do so, back when the feature was still in development.
Start a new thread.Michael Fields
August 2, 2010Awesome! Thanks for the info. I thought so, but I like to be sure. Also, thanks for pointing out that it was the first site to use this feature. I’ll definitely work this in to the presentation.
Sarah
August 4, 2010Hi Michael,
I’m not sure if this is what you’re looking for, but we used Custom Taxonomies quite a bit for vitalventure.gmri.org/activities
Individual Activity pages are interconnected with their overarching Watershed Experiences. The custom taxonomies allowed us to create a hierarchical, interconnected system that enabled us to create the ajax search functionality on the activities page.
Cheers,
Start a new thread.Sarah
Michael Fields
August 6, 2010Sarah, that’s exactly what I’m looking for! Nice example. Thanks for posting.
Rick
August 6, 2010Sarah, how did you connect experiences with activities? As far as I can tell, they’re both custom post types.
Sarah
August 18, 2010Thanks Michael.
Rick: It’s some (semi-hacky) stuff with the taxonomy slugs, and finding parent pages/categories.