• 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

Hide a certain category link from all places it might show up

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 › Hide a certain category link from all places it might show up

This topic is: resolved

Tagged: Altitude Pro, customization, exclude categories, meta

  • This topic has 5 replies, 2 voices, and was last updated 10 years, 6 months ago by Davinder Singh Kainth.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 21, 2015 at 11:32 pm #163113
    lorilin
    Member

    Hi all,

    I have a "secret" post category I use for my own purposes of organization, but I don't want the link to that category to show up in my post meta, breadcrumbs, etc. Altitude Pro is the theme I'm using.

    What is the simplest way to tell genesis to not show the links to that category?

    To be abundantly clear, I want the actual posts from that category to show, but want to completely hide the link to that category from everywhere WordPress might generate it for my site visitors. The posts assigned to that "secret" category will all be assigned other categories that viewers CAN see for organization.

    I'm pretty sure I need to do an if ( !is_page && NOT IS MY SECRET CATEGORY() ) but am not sure if that's right or where it should go.

    EDIT: Thinking more, the above idea is probably totally wrong. I'm thinking the code must go somewhere here:

    Post Meta

    Any tips?

    Lori

    August 22, 2015 at 6:57 am #163133
    Davinder Singh Kainth
    Member

    Try this - https://wordpress.org/plugins/wp-hide-category/


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    August 22, 2015 at 2:25 pm #163190
    lorilin
    Member

    I appreciate the tip, Davinder. It looks like that plugin hides the actual category posts, though. I want to display the actual posts, but keep the "secret" category link from showing up in the breadcrumbs, meta area, etc. It's because it's a category I only use for my own organization...it won't make sense to site visitors. And I tend to use colorful names for things like that to help me remember ;-p

    August 23, 2015 at 8:45 am #163224
    Davinder Singh Kainth
    Member

    Just published this - http://www.basicwp.com/hide-category-post-meta-wordpress/


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    August 24, 2015 at 9:41 am #163306
    lorilin
    Member

    Thanks, Davinder! That worked great for the meta section. I hope others will find it useful, too (I hate to think you went to all that effort just for me).

    I had some trouble with the category appearing in the breadcrumbs, but have figured out a workaround. I don't use tags for anything at all, and those are pretty easy to remove. So I'll be using tags for my backend categorization for now.

    Anyway, you are a prince for helping out 🙂

    Cheers,
    Lori

    August 25, 2015 at 7:05 am #163414
    Davinder Singh Kainth
    Member

    Welcome Lori 🙂

    Yes, personally even I use tags for organization and not show them in front end.


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

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