Exclude Post from Displaying in Homepage

Community Forums Forums General Discussion Exclude Post from Displaying in Homepage

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  eze1981 2 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38146

    eze1981
    Participant

    Hi,

    I have a category that I would like to NOT SHOW in the homepage/blog.

    This category is called “Awesome Stuff” and currently I  have 1 posting on it.

    What can I do so that posting will not show up in the homepage/blog, but only under Awesome Stuff Category?

    Here is my site: http://www.startupslove.com/

    Please let me know :)

    Thank You

    • This topic was modified 2 years, 4 months ago by  eze1981.
    • This topic was modified 2 years, 4 months ago by  eze1981.
    http://www.startupslove.com/
    #38155

    braddalton
    Participant

    Here’s some code and a link to a post about different ways to exclude categories and posts in a category from your home and blog page.

    Code not displaying? Grab it on Github.


    #38195

    eze1981
    Participant

    I realized I dont need to exclude this particular category from the entire homepage, but only from the Content Part/Frame of the homepage. In other words, I still want to display the title of this category in the sidebar (as a featured article to read).

    Hope that what I am trying to achieve makes sense to you.

    Also, this code editing should be done in the index.php, correct?

    Please let me know.

    Thanks!

    #38206

    braddalton
    Participant

    No. All custom PHP is done in the child themes functions.php file.

    You’ll find the solution in the article however you will need to use your own post/page i.d’s


    #38209

    eze1981
    Participant

    Awesome!

    Thanks so much for your help :)

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

The topic ‘Exclude Post from Displaying in Homepage’ is closed to new replies.