Search code examples
wordpresstaxonomypermalinks

How to list all items in custom taxonomy with a permalink in WordPress


Not sure how to word this. I've set up a custom post type in WordPress called Products. I also have two taxonomies linked to Products called Brands and Categories. When you create a product you can set to which Brand and Category the product belongs. It works perfectly when using the type as permalink to list everything within a type

http://sitename.com/products

but I can't seem to get the taxonomies working in the same way, ie. list all the items within a taxonomy (like an archive, I suppose):

http://sitename.com/brands

http://sitename.com/categories

Is this possible, and if so, what could I possibly be doing wrong? I would try and set up some rewrite rules in functions.php, but I don't know what the query string looks like if you want to list items in a taxonomy, and if this is even possible. If it helps, I'm using the plugins More Types and Ultimate Taxonomy Manager to create the types and taxonomies.


Solution

  • Thanks for the answers! I've found a plugin that does exactly what I wanted - after manually coding everything :/

    http://www.thinkoomph.com/plugins-modules/wordpress-custom-post-type-archives/