Ultimate Category Excluder


Ultimate Category Excluder 簡稱 UCE,是個能讓你快速輕易地從網站首頁、彙整、RSS 摘要及搜尋結果中排除指定分類的 WordPress 外掛。只要選取想要排除的分類,UCE 會為你完成其他必要的相關工作。


  • 核取想要進行排除的分類。


  1. 下載 Ultimate Category Excluder。
  2. 將 ultimate-category-excluder.zip 這個檔案進行解壓縮。
  3. 在 WordPress 管理後台的 [外掛] 頁面啟用外掛。
  4. 在 WordPress 管理後台的 [設定] 選單的 [排除分類] 中可以進行相關設定。
  5. 如果你是從舊版進行升級,請先到 [排除分類] 設定頁中將至少一個分類設定為 [從搜尋結果中加以排除] 並儲存設定,之後再回到設定頁,取消之前的設定,然後再儲存一次設定。


  1. 下載 Ultimate Category Excluder。
  2. 將 ultimate-category-excluder.zip 這個檔案進行解壓縮。
  3. 在 WordPress 管理後台的 [外掛] 頁面啟用外掛。
  4. 在 WordPress 管理後台的 [設定] 選單的 [排除分類] 中可以進行相關設定。
  5. 如果你是從舊版進行升級,請先到 [排除分類] 設定頁中將至少一個分類設定為 [從搜尋結果中加以排除] 並儲存設定,之後再回到設定頁,取消之前的設定,然後再儲存一次設定。
當我在站內進行搜尋時,在搜尋結果頁會出現 PHP 錯誤:Warning: Invalid argument supplied for foreach() in /wp-content/plugins/ultimate-category-excluder/ultimate-category-excluder.php on line

請先到 [排除分類] 設定頁中將至少一個分類設定為 [從搜尋結果中加以排除] 並儲存設定,之後再回到設定頁,取消之前的設定,然後再儲存一次設定。



Short, sweat and simple. Does what it should.
I needed this to hide password protected posts with special categories from all archives etc.

Exactly what I was looking for!

I was looking for a way to have posts from a particular menu to not appear on the front page as per normal blog posts and this plugin has achieved that in such a simple way.
Many thanks for coming up with this simple yet effective tool!

Saved my day

My first review, but I had to write one for this plugin.

Completely saved my day, i have been trying to hide posts from other plugins for ages, but no plugin, css or php could do it. Everything can hide posts/categories for regular posts, but if you have another plugin (a recipe plugin in this instance), it creates its own type of posts. This plugin can hide categories no matter what.


Maaaan, I’ve been searching for so long just to find solution for one category I needed to exclude from the main page. Now saw you have updated the plugin!! Mega cool. I installed it and it works fine on my pages. This way I can exclude a category but still show it in calendar and archive etc. Very Cool. I really hope the plugin will be kept updated. If so, I will for sure contribute to your great work. Keep it up please. Thank you very much.

Superb plugin!

Was looking for a way to exclude posts from frontpage while using a free WP theme which didn’t offer an easy way to do this. We needed to set posts to old date to prevent them from the frontpage and that sucked, as we still wanted posts indexed and not in archives for a year backdated.
This plugin resolved the issue very elegantly. THANKS!!!

閱讀全部 56 則使用者評論


Ultimate Category Excluder 外掛為開源軟體。以下人員為這個外掛做出了重大貢獻。


Ultimate Category Excluder 外掛目前已有 5 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Ultimate Category Excluder 外掛本地化為台灣繁體中文版


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



  • Bug fix for compatibility with Yoast Video SEO plugin.


  • Bug fix thanks to Golemming (re. deprecated function mysql_get_server_info).
  • Compatibility with WordPress 4.4.2 confirmed.
  • Documentation updated. No functionality changed.
  • Plugin development and support transferred from Michael Clark to Marios Alexandrou.


  • September 11, 2013 – Went back to the last known (no complaints at least!) version, 0.84.


  • September 10, 2013 – Fixed some more bugs that I introduced while trying to fix other bugs. Cleaned up the code, tried to be more consistent with line spacing and indents so everything is easier to read. Released the Beta version.


  • September 9, 2013 – It turns out that some themes process their home pages in odd ways. This resulted in UCE no longer correctly filtering out the excluded categories. This was a hard bug to figure out, as I couldn’t reproduce it on any of my sites. I think I’ve got it fixed now, but I do have a report that UCE is now causing a conflict with a separate page on the site. So I am working on that; but since this version should fix most people’s home pages, I’m releasing it while continuing to bug hunt. Thank you for your patience. Many thanks to Michael Westergaard, Alyx Hydrick, Alain Saintpo, Seth Vore, and Michael Pollock for their help in figuring out what was happening.

I also fixed several very subtle bugs that were throwing error messages behind the scenes. And I tweaked the system information section at the bottom of the UCE settings page.

Added the Danish translation. I don’t who to thank for providing this.
Added Brazilian translation. Thank you to Leandro Callegari Coelho.
Feel free to send me other languages if you like.


  • September 4, 2013 – You can now exclude categories from appearing in results from the built-in WordPress search engine. Other search engines (e.g. Bing, Google) may still be able to find and index your content. Also fixed a bug that excluded categories from appearing in the Post Editor. And fixed a bug in the system information section.


  • August 3, 2013 – Fixed empty category bug. Again.


  • August 2, 2013 – Added code to give version info for MySQL, PHP, WP and UCE. UCE also works with WP 3.6.


  • July 7, 2011 – Categories that do not have any posts in them will now appear on the list of categories.


  • May 6, 2011 – Added internationalization (i18n) based on Patrick Skiebe’s suggestion and code. He has provided a German translation. Feel free to send me other languages if you like.


  • February 24, 2011 – Addressed a bug in UCE that didn’t handle multiple excluded categories correctly.


  • February 24, 2011 – Addressed a bug in WP 3.1.


  • October 10, 2009 – A user pointed out a bug when trying to filter down categories in the edit posts admin area. I believe I’ve fixed this, but let me know if you still have trouble.


  • June 20, 2009 – James Revillini pointed out a few fairly obvious bugs. I’ve incorporated his changes into the software.

0.21 Beta

  • January 10, 2008 – Initial release, fixed file name bug, dashes vs. underscores

0.2 Beta

  • December 13, 2007 – Initial release, tweaked to refer to PlanetMike.com, no functionality changed

0.1 Beta

  • February 14, 2007 – Initial release