• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Minimum Portfolio Custom Taxonomy Returning No Results

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

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

This topic is: not resolved

Tagged: custom taxonomy, minimum, portfolio

  • This topic has 7 replies, 4 voices, and was last updated 9 years, 4 months ago by hp.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 13, 2013 at 7:31 pm #72850
    Au Coeur
    Member

    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/
    November 17, 2013 at 12:18 pm #73579
    Aaron Eaton
    Member

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


    —
    J. Aaron Eaton – WordPress Consultant
    Website

    November 17, 2013 at 1:14 pm #73656
    Au Coeur
    Member

    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.

    November 17, 2013 at 4:22 pm #73832
    Aaron Eaton
    Member

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


    —
    J. Aaron Eaton – WordPress Consultant
    Website

    November 19, 2013 at 2:09 am #74148
    Au Coeur
    Member

    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.

    November 19, 2013 at 2:24 am #74149
    Brad Dalton
    Participant

    I would use different code to add support for taxonomies: http://wpsites.net/web-design/add-responsive-portfolio-page-to-lifestyle-pro/


    Tutorials for StudioPress Themes & WooCommerce.

    November 25, 2013 at 10:16 pm #75640
    Au Coeur
    Member

    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.

    February 2, 2014 at 12:52 pm #88204
    hp
    Member

    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?

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble