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

Simply Hide Pages

描述

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.

螢幕截圖

安裝

  1. Download plugin archive and expand it
  2. Upload simply-hide-pages.php to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. To indicate that a page should be hidden when wp_list_pages() is used, edit the page that you do not want to see and create a custom field with a key of “hide” and value of “true” (or anything else it does not really matter).

常見問題

Please see plugin homepage.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Simply Hide Pages” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Simply Hide Pages 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • initial release