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

Hide Categories

描述

Hide one o more categories when you use the_category tag or wp_list_categories tag. No exclude post, but only hide a category name in template view.
Example?
You use a category called “featured” in your template but you don’t want it see? Use Hide Categories

Thanks to infocube for the plugin’s idea

螢幕截圖

  • administration
  • in action

安裝

  • install plugin
  • go to Hide Categories configuration
  • choose a categories to exclude

評價

2016年9月3日
A client was using this and when I updated WP it stopped working. If you are already using it, you can make it work by changing one line in the plugin code. Go to the plugin editor and select Hide Categories from the drop down. The file selected on the right should be 'hide-categories/hide-categories.php' 32 lines down you should see: if(in_array($key, $exclude)) unset($code[$key]); Replace only the first $key with $r->term_id and save.
2016年9月3日
Does not hide the selected categories. Some of the selected categories were hidden on some posts and on others, other (seemingly) random categories were hidden. Tested with 4.4 and theme ColorMag.
閱讀全部6個評價

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.2

  • functions rewrite
  • add support for wp_list_categories

1.0.1

  • bugfix

1.0.0

  • first release