Minimum Portfolio Custom Taxonomy Returning No Results

Community Forums Forums Design Tips and Tricks Minimum Portfolio Custom Taxonomy Returning No Results

This topic is: not resolved

This topic contains 7 replies, has 4 voices, and was last updated by  phamhung 9 months, 3 weeks ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #72850

    Au Coeur
    Participant
    Post count: 102

    On 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?


    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.

    http://chefchristopherhinds.com/
    #73579

    Aaron Eaton
    Participant
    Post count: 28

    Have you tried to reset your permalinks? Just go to Settings->Permalinks and click ‘Save Changes’.



    J. Aaron Eaton – WordPress Consultant
    Website

    #73656

    Au Coeur
    Participant
    Post count: 102

    Multiple 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.

    #73832

    Aaron Eaton
    Participant
    Post count: 28

    It turns out ‘type’ is a reserved name. Try a different name, reset permalinks and try again.



    J. Aaron Eaton – WordPress Consultant
    Website

    #74148

    Au Coeur
    Participant
    Post count: 102

    I 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.

    #74149

    braddalton
    Participant
    Post count: 10577
    #75640

    Au Coeur
    Participant
    Post count: 102

    I 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.

    #88204

    phamhung
    Participant
    Post count: 31

    I 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?

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.