How To Hide A WordPress Post or Page From The Home Page or Feed

January 27, 2011 · 31 comments

in WordPress

How To Hide A WordPress Post or Page From The Home Page or Feed

wordpress logoAdding Content Without Having It Seen On the Home Page or Feed!

 

Sometimes we need to add a post to our blog that stays mostly un-seen but is there if we link to it or selectively if someone searches for it.

This solution lets you control which posts (or pages) do not appear in a number of selectable places including home page, feed, blog search, archives, category pages and author pages.

This plugin is not the plugin you need if you are trying to prevent a page from appearing in your theme’s navigational menu.

This plugin also does not prevent the search bots from indexing your posts/pages.

This method is best if you are dealing with the need to occasionally prevent a particular post from appearing somewhere (other than Google/Yahoo/Bing etc) that you do not want it to and these posts are from different categories/tags on your blog.

If you have a frequent series of posts that you want to keep off the home page or feeds/etc (for example, I keep my weekly newsletter post off of the home page, but allow it elsewhere), then exclude by category rather than on an individual basis is probably a far more sensible and easier to remember to get the right things checked thank this is. (I always put my newsletters in the Newsletter category.)

Introducing: WP Hide Posts

(It’s worth noting that for a lot more in-depth introduction to what this plugin does/doesn’t, you can click the link above to its listing in the repository where the author has done a nice job explaining it.)

This plugin allows you to control the visibility of a post in various different views:

  • The Front Page (Homepage, depending on your theme, this may not be relevant)
  • The Category Page (listing the posts belonging to a category)
  • The Tag Page (listing the posts tagged with a given tag)
  • The Authors Page (listing the posts belonging to an author)
  • The Archive Pages (listing the posts belonging to time period: month, week, day, etc..)
  • The Search Results
  • Feeds

Closup showing the Visibility Attributes for posts.

For a WordPress page, this plugin also allows you to control the visibility with two options:

  • Hide a page on the front page (homepage) only.
  • Hide a page everywhere in the blog (hiding the page in the search results is optional).

Closup showing the Visibility Attributes for pages.

Summary

WP Hide Posts is very powerful because it lets you create content that is not intended for the home page without fear!

I often use a similar approach (only I’m working with code) to allow me to write posts that are created for the search engine with no fear of them displacing my regular-reader-centric content from the home page or feeds.

While I do not actually run this plugin (due to working with code instead) and while I was using a similar approach (exclude by category) the whole concept here creates a lot of flexibility and freedom that sometimes you need!

Happy Blogging!
Kimberly

PS: If you’re not already subscribed, be sure to drop your name and email in the registration box so I can send you cool stuff!

Get The Inside Scoop!
social tripletKeep up with all the latest social marketing changes!


{ 31 comments… read them below or add one }

Brankica January 27, 2011 at 8:57 am

Hey Kim,
love the idea. I actually do need something like this from time to time. Especially that it is free, can’t hut trying.
I do have a question though. On the WP plugin page it says it is good for WP up to 2.9.2.
Should I be installing it to the last version of WP?

Reply

Kimberly Castleberry January 27, 2011 at 11:13 am

Brankica, on the official page, if you kick the version setting up to 3.0.4 you’ll see that 5 people have reported it working and none have reported it broken on that version so it should be fine. There does appear that one person is having a problem with it on WP 3.1 RC which is not officially released and is still showing some plugin bugs so this does not concern me. This plugin should be fine.
Kimberly

Reply

Robert Peil January 27, 2011 at 9:23 am

Hi Kim,

I use a similar plugin called: Exclude Pages from Navigation by Simon Wheatly,
which provides a checkbox on the editing page which you can check to exclude
pages from the primary navigation.

I didn’t check yet to see how it compares with WP Hide Posts yet. Because I
use the Thesis theme which allows lots of easy coding to be done, so I completely
shut off the built in navigation bar and code my navigation menu manually.

However, I definitely agree with your point here that this concept creates a lot
of flexibility and freedom. Especially if you choose to set up a complete separate
wordpress blog just for making a capture page, etc…

Happy Blog Creation!

Robert

Reply

Kimberly Castleberry January 27, 2011 at 10:44 am

Robert, that plugin will arrive in another post I’m working on. It removes the entry from the navigation bars but does not necessarily restrict it from anywhere else. In fact that plugin really should be integrated into this one as they are complimentary but not overlapping. WP Hide posts has very little to do with the navigation menu but has a lot to do with keeping a post from being displayed as the most recent on the home page, from appearing in the feed, from appearing in category views as the posts themselves, not as a navigation element.

You should not need Exclude Posts from Navigation on thesis though, as nothing appears in thesis menus unless you add a check to the menu option to put it there.

My question is why do you code the navigation bar manually when you could style it manually but use the new WordPress 3.0 menu system which is highly flexible and easy to manage on the fly. Thesis has supported the new menu system since 1.8 but it requires a little different styling to get it to be pretty.

Thanks Robert!

Reply

Robert January 27, 2011 at 1:30 pm

Hi Heather,
That is correct, the [Exclude Pages from Navigation] plugin is not necessary for a blog running the thesis theme framework. Yes, the page inclusion into the navigation is managed in the thesis Site Options interface.

The reason I chose to code the navigation menu manually was for a few reasons:
1) I wanted to place everything on the left column.
2) I preferred to have a custom look to the title that sets over the links in the navigation list.
3) A separate navigation list for pages, and a separate navigation list for post categories, both having the same look and feel. Just a different title to each. Also, the freedom to split my pages into two separate navigation lists, each list with a title made more relevant to the page contents.
4) Full control of whether I want a no-follow attribute in the link or not.
5) Finally, I wanted my own choice of adding graphical images as bullets to each navigation link in the list. (I chose a small cute doo-thingy image that I like) I did this by making a custom class for these lists in the thesis custom.css file.

You can see what I mean on my blog: http://robertpeil.com
I haven toyed with the integrated wordpress navigation tool,
I just figured that if Thesis can’t give me what I want, then wordpress
surely can’t…

Do you have all this in a easy plugin, or wordpress tool? Or how can I make this easier to manage?

Thanks, ~Robert

Reply

Mrinmay Bhattacharjee January 28, 2011 at 1:05 am

Another Plugin with same functionality is Stealth Publish: http://wordpress.org/extend/plugins/stealth-publish/

I am using it for my blog and it works like a charm :)

Reply

Ileane Smith January 30, 2011 at 8:00 pm

Hey Kim, what a helpful plugin that I don’t hear much about. Thanks for the heads up. I remember when I was testing Window Live Writer and I published a test post by accident. Sounds like this plugin would come in handy for odd ball situations like submitting your blog to Technorati too.
I really like the way you’re working it with the newsletter. Pretty sweet.
Ileane Smith invites you to read…Blogger News and Reviews for January 2011My Profile

Reply

Teresa Ivory February 1, 2011 at 10:55 am

Thanks for answering my question, Kimberly. This looks like a fantastic plugin and I love the idea of hiding your newsletter. That opens up all sorts of ideas for me. If you find a plugin that keeps the page out of Google, etc., please let me know.

Reply

Natalie February 4, 2011 at 7:45 am

Kim,

Ok – have you been reading my mind AGAIN! You have this wonderful skill or knowing when questions are bugging me and then poof! like magic… the answer appears.

Thank you – I really appreciate you and your great blog.

Natalie

Reply

Jungle Girl February 4, 2011 at 8:52 pm

Hi Kim,
Thanks so much for the informative post. I’m wondering if there’s a way to exclude certain posts only from your email feed, but still have them in the RSS feed. I want to exclude certain categories of posts from my email subscribers so I’m not filling up their inboxes, but still have them available to subscribers with readers.

Thanks in advance for your help

X

Reply

Mitchell Allen February 7, 2011 at 11:21 pm

Kim, I learn something new every time I read your newsletter! I finally updated my creaky old theme and was shocked to discover that comment notifications now work the way you explained it oh so long ago :) Plus, it supports the menu system you mentioned to Robert.

Now, WP Hide Post sounds like a powerful addition to any plugin lineup. Your use of it for the newsletter is brilliant! I’m getting all kinds of ideas…

Thanks for this infromation!

Cheers,

Mitch

Reply

wini September 14, 2011 at 8:41 am

this plugin made my posts which are hide on front page can not be found in google search.. the unfound posts are in my category menu.

Reply

Kris Evenson October 4, 2011 at 9:48 am

WP Exclude posts rocked…when it worked. With the most recent update of WP it no longer works properly and will generate a 404 error on pages hidden from the front page. (I used it primarily to prepare posts in advance so my clients could review prior to publishing them.) Loved the plugin prior to the last WP update though and wish it worked!!!!

Reply

Kimberly Castleberry October 4, 2011 at 6:01 pm

Hey Kris, assuming we’re talking about “WP Hide Posts” and not “WP Exclude Posts” you probably need to file a “broken” status and fill out the form and report that error here: http://wordpress.org/extend/plugins/wp-hide-post/
Kim

Reply

Medical Billing April 25, 2012 at 4:48 am

This is very useful with collaborators who are also working online. Putting a password on the post.Thanks for sharing

Reply

Michael Gribbin May 1, 2012 at 9:44 pm

Kim,

Your title “Adding Content Without Having It Seen On the Home Page or Feed!” gave me hope, as I have previously found nothing on being able to “hide a Page” from being listed under Recent Posts on the Home Page.

I had previously installed the Exclude Page plug-in but now have a “Special Offer Page” that I only want visitors to reach via a link in an email or in a post.

Installing your suggested Hide Posts/Pages plug-in didn’t solve that problem either – the Page title still shows up under Recent Comments. Kind of defeats the purpose of having a “hidden Page”.

This new plug-in supposedly hides that Page from search engines, so that is a plus.

Thanks,

Michael

Reply

News in Hindi May 7, 2012 at 5:50 am

Given good information. I am using the WordPress and applying this hiding process.
Very useful to me. Great read for me.

Reply

Lupin May 16, 2012 at 7:40 pm

Hi Kim,

I am actually using the WP-Hide-Post plugin. I have a review site and have a rating widget on the home page.

What I have noticed is that whenever I select the “Hide from frontpage”, the post gets hidden from both the front page (home page) and the rating widget located on the front page on my site.

Do you have a way on how I can simply exclude the post on the front page and not on the widget?

Thank you in advance.

Reply

Kim Castleberry May 17, 2012 at 12:44 am

Lupin, I’m afraid I don’t have a better answer. There are very few alternative plugins similar to this available. You might investigate if ACE (Advanced Category Excluder) would be able to do that. It sounds like your rating widget is sharing code with the front page however.
Kim

Reply

Lupin May 17, 2012 at 1:39 am

Hi Kim, thank you for the quick response. I followed your suggestion and got a different plugin that works exactly how I wanted it to. It’s called “Simply Exclude”.

Reply

Govind Choudhary May 23, 2012 at 5:41 am

Thanks again for this awesome plugin,i was searching for it from many days.I am going through all your posts.You are doing great work Kim,keep doing this awesome work :)

Reply

MNB Achari August 6, 2012 at 10:16 am

This article made my day. I sometimes wonder if I can hide a particular post from the home page. It’s clear now. Thanks for the article!

Reply

Yorick Brown September 17, 2012 at 5:31 pm

Thanks for the article. However, the links to the Exclude by category are broken. It’d be good to read this too.

Reply

Balaz Sabo Sipos November 10, 2012 at 8:15 am

Hello Kim, Tnx for this plugin, i am using Exclude Pages, and it is really Easy.

Do you know maybe a Plugin that will allow me to Hide MENU NAVIGATION from Some Page that i want?

On some templates there is option in: PAGE ATTRIBUTES/TEMPLATE (i found option like: LANDING PAGE-NO MENU) on RESPONSIVE Theme.

Like if i wont to make Thank You Page or something like that, and i dont wont my menu navigation to Show on that Page, If you have maybe some solution for that, please inform me.

Thanks in Advance and keep up the Great Work.

Reply

Kim Castleberry November 10, 2012 at 6:33 pm

I’m not sure if it would work, but try the Dynamic Menus feature from WooThemes. I think it may be part of their WooDojo plugin. It lets you put different menus in different places and maybe you could put an empty menu on that page.
Kim

Reply

Tim Buist December 2, 2012 at 8:49 pm

Noticed this plugin has stopped functioning properly with the latest Wordpress version, and it hasn’t been updated or supported for 2 years. A shame… from what I can tell there is no replacement for this plugin.

Reply

Kim Castleberry December 3, 2012 at 2:12 am

Yeah, that plugin has gotten really long in the tooth. 5 people however have reported it as working on this current version of WordPress, so my speculation would be that it is having trouble with some themes.
Kim

Reply

Yorinda October 12, 2013 at 2:53 pm

Hi Kim,
this plugin is so much more versatile than the ‘Exlude pages’ which only allows you to hide page.
I always wondered whether there was a way to hide posts and now I know thanks to you!

Thank you for sharing your expertise and knowledge!
Much appreciated!
Yorinda
Yorinda invites you to read…Music Stairway to HeavenMy Profile

Reply

Sofie November 28, 2013 at 4:12 pm

I’ve been trying to use this plugin for months now, and it just doesn’t work. Posts still show up everywhere:/
Any idea why this might be?

Reply

Kim Castleberry November 30, 2013 at 11:29 am

I’d suggest trying the support forum on the WordPress repository for that particular plugin. Click the link, log int, be sure you’re still on the same page, and then click on support. Hope that helps!
Kim

Reply

Sofie December 1, 2013 at 5:16 am

Already posted on there in August, still nothing

Reply

Leave a Comment

CommentLuv badge