• 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

Custom Post Type Taxonomies Not Displaying

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 › General Discussion › Custom Post Type Taxonomies Not Displaying

This topic is: resolved

Tagged: custom post type taxonomies

  • This topic has 3 replies, 1 voice, and was last updated 12 years, 4 months ago by ameeker.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 15, 2014 at 11:39 am #85364
    ameeker
    Member

    This is my single-tipoftheday.php

    http://pastebin.com/z5gh8sPY

    This is my functions.php

    http://pastebin.com/gwEj2xkn

    I'm using the Genesis Sample v 2.0.2

    I have a custom post type 'tipoftheday' with a custom taxonomies 'totd_tags' and 'totd_cat' The taxonomies are registered with the post type (I can see them when I'm looking at the post type, and I can see that the posts assigned to the taxonomies have been assigned properly.

    BUT, I can't get the tags or categories to show in the theme (Filed Under...) . It works as expected for Posts, but not for the post type.

    I tried removing my CPT template above to see if it would working using the standard single.php and it still did not catch them.

    WHY oh great Genesis overlords. WHY!?


    Looking for Genesis website design backed by strategy? http://www.angiemeekerdesigns.com

    January 15, 2014 at 7:10 pm #85421
    ameeker
    Member
    add_filter( 'genesis_post_meta', 'post_meta_filter' );
    function post_meta_filter($post_meta) {
     
    	if ( !is_singular() )
    		return;
     
    	$post_meta = '[post_tags taxonomy="tipoftheday"]';
    	return $post_meta;
    }

    I tried this with post_terms, post_tags, and post_categories all three, but none of those three worked to return either of the two custom taxonomies on the single posts.


    Looking for Genesis website design backed by strategy? http://www.angiemeekerdesigns.com

    January 15, 2014 at 7:46 pm #85428
    ameeker
    Member

    and this

    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    	if ( is_singular( 'tipoftheday' ) ) {
    		$post_meta = ' [post_terms before="See Articles Related To " taxonomy="totd_tags"]';
    	}
    	return $post_meta;
    }

    which also didn't work.

    An example post is http://m.angiemeekerdesigns.com/totd/testing-tags/


    Looking for Genesis website design backed by strategy? http://www.angiemeekerdesigns.com

    January 15, 2014 at 8:25 pm #85435
    ameeker
    Member

    Got it. The above is correct. Doesn't work with Simple Edits at the same time.


    Looking for Genesis website design backed by strategy? http://www.angiemeekerdesigns.com

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom Post Type Taxonomies Not Displaying’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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