I've created a post type - Vendors. I've created a taxonomy - Vendor_Type, non-hierarchical.
With the vendors I've created I've added three taxonomies, Type1, Type 2, Type 3.
I used a plugin - custom taxonomies menu widget - to list the taxonomies in the sidebar.
When I click on one of the taxonomies in the sidebar, I am given a page that appears to be an archive page - http://mysite.com/vendor_type/Type1/ - Where is the layout for this page coming from? What template is used to produce this page?
Thanks
Lori
edited to add that I don't think the sidebar widget has anything to do with the template
I've created a post type - Vendors. I've created a taxonomy - Vendor_Type, non-hierarchical.
With the vendors I've created I've added three taxonomies, Type1, Type 2, Type 3.
I used a plugin - custom taxonomies menu widget - to list the taxonomies in the sidebar.
When I click on one of the taxonomies in the sidebar, I am given a page that appears to be an archive page - http://mysite.com/vendor_type/Type1/ - Where is the layout for this page coming from? What template is used to produce this page?
Thanks
Lori
edited to add that I don't think the sidebar widget has anything to do with the template
As it turns out, I believe the problem I was having had to do with the taxonomy name in custompress. I created the Taxonomy - Vendor_Type. About a week ago. Today I clicked on "Vendor Types" under the "Vendors" menu and got the "Cheatin' uh?" error message. I had seen this before but maybe didn't follow up on it closely.
I found a post here where someone thought the issue had to do with capitalising the taxonomy name. I definitely did not have any other taxonomies or categories with the same name.
I deleted that taxonomy and created another one "vendor_category". And voila, everything works. I now see the vendor categories listed just like post categories and I can edit the templates just as the category templates.
Responses (4)
WPMU DEV Fanatic — 18th August 2011 #
Hi Lori,
That really depends on your theme, really. Does it include a taxonomy.php template? If not, it may be resorting to using archive.php.
This is all detailed in the following page from the codex:
http://codex.wordpress.org/Template_Hierarchy
Cheers,
David
Member — 18th August 2011 #
Thanks, I wanted to double check that custompress wasn't creating it's own layout.
Member — 18th August 2011 #
As it turns out, I believe the problem I was having had to do with the taxonomy name in custompress. I created the Taxonomy - Vendor_Type. About a week ago. Today I clicked on "Vendor Types" under the "Vendors" menu and got the "Cheatin' uh?" error message. I had seen this before but maybe didn't follow up on it closely.
I found a post here where someone thought the issue had to do with capitalising the taxonomy name. I definitely did not have any other taxonomies or categories with the same name.
I deleted that taxonomy and created another one "vendor_category". And voila, everything works. I now see the vendor categories listed just like post categories and I can edit the templates just as the category templates.
Thanks
Lori
Founder & CEO — 11th October 2011 #
That's great to hear, thanks for being a member of WPMU DEV Lori!
Become a member