• 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

How to Exclude a Category from Post Meta

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 › How to Exclude a Category from Post Meta

This topic is: not resolved

Tagged: filed under, post meta

  • This topic has 1 reply, 2 voices, and was last updated 13 years, 1 month ago by Au Coeur.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 3, 2012 at 10:40 am #3072
    Chad
    Member

    I am running newest WP, Genesis and Minimum Theme.

    I have adapted Brian's home page to use the Genesis Bootstrap Carousel. I have created a category called Carousel that I am assigning to any posts that I want to show up on the home page carousel only. I am then also using another category to have the post show on one of two category pages (New Homes and Additions and Renovations).

    If you look on either of those two pages you will see that under the "Filled Under" section it shows "Carousel" as well as the category I want it to show under.

    How can I adapt Brian's custom code in functions.php to exclude this category? In my case carousel category ID is 7.

    Here is his code:

    /** Customize the post meta function */
    add_filter( 'genesis_post_meta', 'post_meta_filter' );
    function post_meta_filter( $post_meta ) {
    if ( !is_page() ) {
    $post_meta = '' . __( 'Filed Under: ', 'minimum' ) . ' // ';
    return $post_meta;
    }}

    Thank you for any assistance.

    http://www.makobuildersinc.com/new-homes/

    January 29, 2013 at 9:54 pm #16301
    Au Coeur
    Member

    There is no simple way of doing this. Would it be possible for you to use a custom taxonomy instead of a category for the Genesis Bootstrap Carousel? That would allow you to filter without having the information end up visible in the categories list.


    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.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

© 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