這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Unlist Posts & Pages

外掛說明

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

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.

安裝方式

  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.

使用者評論

2019 年 10 月 10 日 1 則留言
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
閱讀全部 12 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Unlist Posts & Pages〉的開發相關工作。

參與者

〈Unlist Posts & Pages〉外掛目前已有 7 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Unlist Posts & Pages〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.9

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

1.1.8

  • Improvement: Updated the description of the plugin (props @NekoJonez)

1.1.7

  • Fix: Support translations on translate.wordpress.org.

1.1.6

  • Fix: Unlisted post visible in preview/next post links.

1.1.5

  • Fix: Compatibility with Yoast SEO’s robots tags options. Robots tags from Unlist Posts will override tag changes from Yoast SEO.

1.1.4

  • Fix: Due to a bug unlisted posts were visible in the search results, which we have fixed now.

1.1.3

  • Deprecated: wp_no_robots() has been deprecated.
  • Security: Use escaping for displaying unlist post description.

1.1.2

  • Fix: Post metabox did not show the correct status if the post is unlisted or not in the classic editor.

1.1.1

  • Improvement: Added the WordPress 5.6 compatibilty.

1.1.0

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

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.