Title: Hide Categories
Author: Eduardo
Published: <strong>2009 年 8 月 31 日</strong>
Last modified: 2011 年 3 月 28 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/hide-categories.svg)

# Hide Categories

 由 [Eduardo](https://profiles.wordpress.org/thedi/) 開發

[下載](https://downloads.wordpress.org/plugin/hide-categories.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/hide-categories/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/hide-categories/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/hide-categories/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/hide-categories/#developers)

 [技術支援](https://wordpress.org/support/plugin/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](http://www.infocube.it) for the plugin’s idea

## 螢幕擷圖

[⌊administration⌉⌊administration⌉[

administration

[⌊in action⌉⌊in action⌉[

in action

## 安裝方式

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

## 使用者評論

![](https://secure.gravatar.com/avatar/2b1545e4bfa2e33ee9341a8b2fd7d56e751fe918fb6f639769960834c5141c60?
s=60&d=retro&r=g)

### 󠀁[To make it work in WP 4.2](https://wordpress.org/support/topic/to-make-it-work-in-wp-42/)󠁿

 [Heliocles](https://profiles.wordpress.org/heliocles/) 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.

![](https://secure.gravatar.com/avatar/89cf64cb5f9ef7f13ea2903f850a698150752715894725a97bec004ebeb0707b?
s=60&d=retro&r=g)

### 󠀁[No longer working on 4.4](https://wordpress.org/support/topic/no-longer-working-on-44/)󠁿

 [Erwin](https://profiles.wordpress.org/killioughtta/) 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 則使用者評論 ](https://wordpress.org/support/plugin/hide-categories/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Hide Categories〉的開發相關工作。

參與者

 *   [ Eduardo ](https://profiles.wordpress.org/thedi/)

[將〈Hide Categories〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/hide-categories)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/hide-categories/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/hide-categories/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/hide-categories/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/hide-categories/)。

## 變更記錄

#### 1.2

 * functions rewrite
 * add support for wp_list_categories

#### 1.0.1

 * bugfix

#### 1.0.0

 * first release

## 中繼資料

 *  版本 **1.2**
 *  最後更新 **15 年前**
 *  啟用安裝數 **200+**
 *  WordPress 版本需求 ** 2.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.8.4**
 *  語言
 * [English (US)](https://wordpress.org/plugins/hide-categories/)
 * 標籤:
 * [category](https://tw.wordpress.org/plugins/tags/category/)[hide](https://tw.wordpress.org/plugins/tags/hide/)
   [hide categories](https://tw.wordpress.org/plugins/tags/hide-categories/)
 *  [進階檢視](https://tw.wordpress.org/plugins/hide-categories/advanced/)

## 評分

 3.7 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/hide-categories/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/hide-categories/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/hide-categories/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/hide-categories/reviews/?filter=2)
 *  [  2 個 1 星使用者評論     ](https://wordpress.org/support/plugin/hide-categories/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hide-categories/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/hide-categories/reviews/)

## 參與者

 *   [ Eduardo ](https://profiles.wordpress.org/thedi/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/hide-categories/)