Community Forums › Forums › Archived Forums › Design Tips and Tricks › Minimum Portfolio Custom Taxonomy Returning No Results
Tagged: custom taxonomy, minimum, portfolio
- This topic has 7 replies, 4 voices, and was last updated 12 years, 2 months ago by
hp.
-
AuthorPosts
-
November 13, 2013 at 7:31 pm #72850
Au Coeur
MemberOn http://chefchristopherhinds.com/ I created a custom taxonomy for the portfolio items. The taxonomy appears on the post edit screen and I am able to add portfolio posts to it, but when I visit the URL it says that "no content matched your criteria." For example at http://chefchristopherhinds.com/food-type/burgers/
This is how I added the taxonomy:
function type_init() { // create a new taxonomy register_taxonomy( 'type', 'portfolio', array( 'label' => __( 'Type' ), 'rewrite' => array( 'slug' => 'food-type' ), 'hierarchical' => true, ) ); } add_action( 'init', 'type_init' );Any idea why this might be?
http://chefchristopherhinds.com/Mother. Web & Graphic Designer. Lactation Consultant. Blogging about how it all fits together, most recently from northern Colorado. Visit my blog or my design site.
November 17, 2013 at 12:18 pm #73579Aaron Eaton
MemberHave you tried to reset your permalinks? Just go to Settings->Permalinks and click 'Save Changes'.
—
J. Aaron Eaton – WordPress Consultant
WebsiteNovember 17, 2013 at 1:14 pm #73656Au Coeur
MemberMultiple times with no luck. 🙁
Mother. Web & Graphic Designer. Lactation Consultant. Blogging about how it all fits together, most recently from northern Colorado. Visit my blog or my design site.
November 17, 2013 at 4:22 pm #73832Aaron Eaton
MemberIt turns out 'type' is a reserved name. Try a different name, reset permalinks and try again.
—
J. Aaron Eaton – WordPress Consultant
WebsiteNovember 19, 2013 at 2:09 am #74148Au Coeur
MemberI changed it to 'menu-type' and it is still doing the same thing.
Mother. Web & Graphic Designer. Lactation Consultant. Blogging about how it all fits together, most recently from northern Colorado. Visit my blog or my design site.
November 19, 2013 at 2:24 am #74149Brad Dalton
ParticipantI would use different code to add support for taxonomies: http://wpsites.net/web-design/add-responsive-portfolio-page-to-lifestyle-pro/
November 25, 2013 at 10:16 pm #75640Au Coeur
MemberI tried changing it to that code and I am still having the same problem. I can see that there are portfolio posts and how many based upon the tag cloud I created, but when I click on the link in the could or the menu it says nothing matches my criteria. I'm wondering if this is related to the code to format the custom taxonomy archive rather than the code to create the taxonomy in the first place.
Mother. Web & Graphic Designer. Lactation Consultant. Blogging about how it all fits together, most recently from northern Colorado. Visit my blog or my design site.
February 2, 2014 at 12:52 pm #88204hp
MemberI am having the same issue with Minimum Pro. I use Types for creating custom taxonomy, but http://duongminhlong.com/photos/ho-trinh/ keeps showing "Sorry, no content matched your criteria"
Any idea for fixing yet?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.