跳到内容

Simply Hide Pages

v1.0

julienvdg · 2010年8月16日 上架

Easy way to hide some pages from wp_list_pages output.

正在使用
70+
评分
暂无
累计下载
1.4 万
最近更新
2010年8月16日
需要 WordPress 2.9+已测试到 3.0.5

贡献者

截图

Custom field needed on page to hide
Custom field needed on page to hide

Easy way to hide some pages from wp_list_pages output.
Simply add the custom field ‘hide’ with any value to your page, and this page will no longer appear on the page list.
You could already do this on the ‘Pages’ widget or by adding the exclude parameter to all your wp_list_pages template tags. But now you can do it directly form the page editor which is, I believe, the best place to do so.

You might want to hide pages if you need some pages to exist but don’t want them to appear on your page list. For instance as Cool URIs don’t change, but some services have been removed from your site, so you write a page explaining where to go to get the equivalent service now. (not a real redirect, but still useful sometimes). Of course you don’t want this page on your page list, you prefer to only have the new services listed 😉

Unlike other more complex plugins, it uses custom field to avoid adding tables to your database.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums