Linux 软件免费装
Banner图

Unlisted Posts

开发者 someguy9
更新时间 2026年9月10日 05:42
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv3
版权网址: 版权信息

标签

exclude noindex visibility hide posts unlisted

下载

1.0.0 2.0.0

详情介绍:

Unlisted Posts adds an "Unlisted" toggle to posts and pages. Switch it on and the post is left out of everywhere WordPress lists content, while anyone with the link can still open it. Handy for sharing a page with clients, publishing documentation you don't want in your blog feed, or keeping old content reachable without promoting it. What gets hidden Unlisted posts also send a noindex robots meta tag so search engines drop them, and the Posts and Pages admin lists show an "Unlisted" label next to each one. Where the toggle lives The plugin stores a single _unlisted_post post meta value and keeps a small cached list of unlisted IDs, so there is no extra query cost on the front end. Custom post types Posts and pages are supported by default. Add other post types with the unlisted_posts_post_types filter. A post type must support custom-fields for the block editor toggle to save. add_filter( 'unlisted_posts_post_types', function ( $types ) { $types[] = 'product'; return $types; } );

安装:

  1. Upload the plugin to the wp-content/plugins directory, or install it from the Plugins screen.
  2. Activate it from the Plugins screen.
  3. Edit any post or page and switch on "Unlisted" in the sidebar's Summary panel (or the Publish box in the classic editor).

常见问题:

Can people still see an unlisted post?

Yes. Anyone with the link can open it and share it like any other URL. It is only left out of lists, feeds and search engines. If you need real access control, use WordPress's private or password-protected visibility instead.

Will Google index unlisted posts?

The page sends a noindex robots meta tag and is left out of the core XML sitemaps, so search engines that respect those signals will not index it. If an SEO plugin builds your sitemap, check that it honours noindex (most do) or exclude the post there as well.

Does this work with the classic editor?

Yes. The classic editor gets a checkbox in the Publish box, and the block editor gets a toggle in the Summary panel.

I updated from 1.x. Do I need to do anything?

No. Existing unlisted posts are migrated automatically the first time the admin loads after updating.

更新日志:

2.0.0 1.1.0 1.0.0