• 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

Exclude Categories from Home Page Posts

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 › Exclude Categories from Home Page Posts

This topic is: resolved

Tagged: blissful, category, exclude, exclude post, homepage

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 6 months ago by foodiesplace.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 21, 2013 at 8:25 pm #42115
    abovethebuzz
    Member

    Hi,

    I would like to exclude certain posts from one of my categories from showing up {deals} on the home page and only have it available if you click it via the menu. I found a spot under Genesis Theme settings where you can exclude categories by entering the category ID so I added a plugin that gave me the category-ID and then put that number in, but the post still show up. I'm using the Blissful theme. Any help would be greatly appreciated!

    My site is http://upcycledtreasures.com

    Thanks!

    Katie

    http://upcycledtreasures.com
    May 21, 2013 at 11:12 pm #42137
    Brad Dalton
    Participant

    Try this http://www.studiopress.community/topic/balance-theme-excluding-category-on-home-page/

    Another option is to use code

    Code not displaying? Grab it on Github.


    Get Help – Book Consultation.

    May 22, 2013 at 7:22 am #42192
    abovethebuzz
    Member

    Thank You! I don't know why I didn't see that comment thread when I searched. After trying a couple different plugins I decided to go with this one:

    http://wordpress.org/extend/plugins/advanced-category-excluder/

    Which was easy to set up, I checked a couple categories I wanted excluded and it worked, thank you!

    ~Katie

    July 18, 2013 at 7:02 am #51291
    foodiesplace
    Member

    @braddalton quick question: in which file do I have to put this code? I expected it to go in the functions.php, however I thinlk it should stay in a function of some sort, how do I do this?

    thanx a lot

    Valentina

    July 18, 2013 at 7:07 am #51292
    Brad Dalton
    Participant

    Hello Valentina

    Can be used in a template like home.php or a custom function.

    Please link to your site.

    I'd need to know exactly what you want to exclude and where so i can test the code locally on the same theme and provide the working code.


    Get Help – Book Consultation.

    July 18, 2013 at 7:12 am #51293
    foodiesplace
    Member

    nevermind, I've just found your article 5 Ways To Exclude Posts In Specific Categories From Displaying

    used solution n. 4 and it worked like a charm!

    thanx

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Exclude Categories from Home Page Posts’ 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

© 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