Exclude Categories from Home Page Posts

Community Forums Forums Design Tips and Tricks Exclude Categories from Home Page Posts

This topic is: resolved

This topic contains 5 replies, has 3 voices, and was last updated by  foodiesplace 1 year, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42115

    abovethebuzz
    Participant
    Post count: 11

    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
    #42137

    braddalton
    Participant
    Post count: 9734

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

    Another option is to use code

    Code not displaying? Grab it on Github.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #42192

    abovethebuzz
    Participant
    Post count: 11

    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

    #51291

    foodiesplace
    Participant
    Post count: 7

    @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

    #51292

    braddalton
    Participant
    Post count: 9734

    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.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #51293

    foodiesplace
    Participant
    Post count: 7

    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

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Exclude Categories from Home Page Posts’ is closed to new replies.