How to hide a post

  • sylvia


    I want to put links to a few posts in my sidebar….so that when a user clicks this link, it redirects them to that post. But I don’t want this post to appear in the normal main content flow of blog posts. Anyone know how I can accomplish this? Is there a way to hide a post from the main content area?




    create new category, exclude it from main content.

    If you by “links” mean post title, than lookout for related plugin, or you can use something like this:




    I don’t want to create a separate category…because I want the ability to hide a post in any of my categories. Do you know of a good plugin that can accomplish this?

    Prasanna SP


    I don’t know what you’re looking for. But I’m developing a plugin which helps to display recent posts from a single category or multiple categories.

    Project on github –

    Mail me if you want this plugin. I’ll forward the zipball. BTW, I’m using the same plugin in my site. (5th item in the sidebar)



    I’m trying to put a link in my sidebar, which links to one of my posts. But…when i create this post…I don’t want it to display in the normal flow of posts in the main content. I only want this post accessible through a link that I will display in my right hand sidebar. So……I’m wondering if there is a plugin out there that someone is familiar with…that will give you the ability to hide a post from the normal flow of blog posts in the main content. BUT…still allow the user access to this post if I create a link for it in the sidebar…

    Prasanna SP


    Post them in a separate category and unselected that category in Graphene Options –> Front page posts categories



    Thanks for the reply…but I don’t want to create a separate category….because some of the posts in the category I DO want to show up on the front page…and other posts from the same category I DON’T want them to show up on the same page….



    That’s right!

    Create new category, label it “hide”. If you want to hide post, assign “hide” category, otherwise don’t.

    Simple like that!

    If I understand correctly what are you trying to accomplish:)



    No you don’t. Let me put it this way. Lets say in a category called “cars”, I have 3 posts. How do I show posts 1 and 3 in the main content section, but hide post 2. Also at the same time…if someone clicks on the “cars” category archives….I still want all 3 posts to show up in the results. I only want to hide post 2 from the main content section….I don’t want it completey hidden from the archives and search results



    Make two categories (“cars” and “carsfront”).

    Assign all car posts to “cars”, and only assign the ones for the front page to “carsfront”.

    Then, make sure to exclude “cars” from showing on the homepage. But make sure “carsfront” is included on the homepage. (Graphene options -> Front Page Options)



    Josh…just to reiterate….ALL car posts get assigned to “cars”. And car posts that I want to appear on the front page…assign them to both “carsfront” and “cars”. Then make sure “carsfront” is included…and “cars” is excluded…correct?



    Well, if they already all get assigned to cars… that’s fine. But, create a new category (“carsfront”), and assign only the car posts you want to display on the front page to the “carsfront” category.

    But you have to make sure the front page options is set to display the “carsfront” category and not the “cars” category.

    So, every car post will be assigned to cars, so when you click the “cars” category, you get all the car posts. THEN, each car post you want on the front page will ALSO be assigned to the “carsfront” category, which gets displayed on the homepage via the front page options.



    Josh, Thanks for your help…but I don’t think I can accomplish what I want with this method.

    Here’s my problem…sticking with the cars example. Lets say all my car posts are under the category “cars”. Now, I’m going to have a “car of the day” category…and I want this category to be hidden from the front page. So, I might have 10 posts under the “cars” category….and one post which will be the car of the day. This post will have two categories….”cars” and “car of the day”. If I exclude the “car of the day” category from the front page….the post still shows up…because it is also associated with the “cars” category.

    Note – I want the “car of the day” post to have both categories….because I want it to show up in the results when someone views the “cars” category archives… well as the “car of the day” category archives.



    Why don’t you just create a category called “frontpageposts” and set graphene to ONLY display posts from that category on the front page.

    Then, whatever posts you want to display on the front page, you can keep the current category structure, but also assign them to the “frontpageposts” category.

    Prasanna SP


    Try this plugin – WP Hide Post –

    I think it’s what you’re looking for..

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

You must be logged in to reply to this topic.