How to hide a post

  • sylvia

    #2936

    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?

    Luko

    #22716

    Sure,

    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:

    http://www.prasannasp.net/how-to-exclude-categories-in-wordpress-recent-posts-widget/

    soapy

    #22717

    Luko,

    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

    #22718

    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 – https://github.com/prasannasp/Custom-Recent-Posts-Widget

    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)

    soapy

    #22719

    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

    #22720

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

    soapy

    #22721

    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….

    Luko

    #22722

    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:)

    soapy

    #22723

    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

    Josh

    #22724

    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)

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

You must be logged in to reply to this topic.