Contributors: brainstormforce, nikschavan Donate link: https://www.paypal.me/BrainstormForce Tags: post, unlist posts, hide posts, Requires at least: 4.6 Tested up to: 6.3 Stable tag: 1.1.9 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html
Hide posts, pages or custom items from your site and make them accessible only with the direct link.
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.
Try it out on a free dummy site
Need help with something? Have an issue to report? Get in touch. with us on GitHub.
- 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.
- Go to the Plugins menu and click Add New.
- Search for Unlist Posts.
- Click Install Now next to the Unlist Posts plugin.
- 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.
- Improvement: Comments for unlisted posts were hidden, These should be displayed now.
- Improvement: Make sure robots tag is noindex for unlisted posts when Rank Math plugin is active.
- Improvement: Updated the description of the plugin (props @NekoJonez)
- Fix: Support translations on translate.wordpress.org.
- Fix: Unlisted post visible in preview/next post links.
- Fix: Compatibility with Yoast SEO's robots tags options. Robots tags from Unlist Posts will override tag changes from Yoast SEO.
- Fix: Due to a bug unlisted posts were visible in the search results, which we have fixed now.
- Deprecated: wp_no_robots() has been deprecated.
- Security: Use escaping for displaying unlist post description.
- Fix: Post metabox did not show the correct status if the post is unlisted or not in the classic editor.
- Improvement: Added the WordPress 5.6 compatibilty.
- New: Add post status filter to make it easier to find out the unlisted posts. (Props @matthewmcvickar #40)
- Fix: Don't save post status for the revision posts.
- Fix: unlist posts does not work in Ajax callbacks. (props @makovetskiy)
- Fix: duplicate post ids being saved in the options array.
- New - Exclude the posts from wp_list_pages()
- 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.
- Initial Release.