Unlist Posts & Pages

Description

Unlisted means your post/page will not come up in search results or on anywhere else on your site. Only those who have the link of the post can view it just like any normal post on the site.

The Post could still be seen by anyone, but only if they guess the link!

The plugin updates MySQL query directly in WP_Query class of WordPress to leave out the posts which are unlisted by the user. As this modifies the core WP_Query, this also works very well with all the plugins which pull out posts/pages from database by using WP_Query, For eg. Posts slider plugins, Advanced Posts in Ultimate Addon for Beaver Builder etc.

Supported & Actively Developed

Need help with something? Have an issue to report? Get in touch. with us on GitHub.

Limitations Of the Plugin

  • WP_Query has an a flag to ‘Suppress’ the filters. If any plugin is using this flag when querying the posts then the unlisted post will not be hidden in that plugin’s output.
  • Similarly if any plugin is using a custom MySQL query, then the unlisted posts will not be hidden from it’s output.

Installation

  1. Go to the Plugins menu and click Add New.
  2. Search for Unlist Posts.
  3. Click Install Now next to the Unlist Posts plugin.
  4. Activate the plugin.

Just select option “Unlist Post” in any post of any type and that post will be hidden from the whole site, it can be only accessed if you have the direct link to the post.

Reviews

October 10, 2019
Great, simple, small plugin, works as described. great for magazine sites where you need to send the link to the client where article preview can be made without logging into WordPress
April 26, 2019
This does exactly what it says it does. Down at the bottom of the document settings there is a checkbox "Unlist this post?" Easy
January 22, 2019
I wanted to thank you for this excellent plugin, because it integrates perfectly with WordPress v5.0.3 and it is very easy to hide certain pages and post that we do not want to be visible in the WordPress search engine. I was trying fragments of codes but they did not work as I wanted and searching and searching I found this solution that is very effective. Thank you very much for your time and effort to develop this excellent plugin that WordPress should have. Congratulations!
Read all 9 reviews

Contributors & Developers

“Unlist Posts & Pages” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Unlist Posts & Pages” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.4

  • Fix: unlist posts does not work in Ajax callbacks. (props @makovetskiy)

1.0.3

  • Fix: duplicate post ids being saved in the options array.

1.0.2

  • New – Exclude the posts from wp_list_pages()

1.0.1

  • New – Hide a page from search engines if it is unlisted.
  • New – Hide the post from comments query if it is unlisted.
  • Updated code architecture to be PHPCS compatible.

1.0.0

  • Initial Release.