Title: PE Category Filter
Author: Pavel Espinal
Published: <strong>2012 年 3 月 3 日</strong>
Last modified: 2025 年 10 月 10 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/pe-category-filter.svg)

# PE Category Filter

 由 [Pavel Espinal](https://profiles.wordpress.org/khratos/) 開發

[下載](https://downloads.wordpress.org/plugin/pe-category-filter.2.0.1.zip)

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

 [技術支援](https://wordpress.org/support/plugin/pe-category-filter/)

## 外掛說明

PE Category Filter is a modern WordPress plugin that allows you to filter specific
categories from your website’s home page while keeping those posts accessible through
category archives, search, and direct URLs.

**Key Features:**

 * **Modern Architecture:** Symfony-inspired dependency injection and service layer
   patterns
 * **Performance Optimization:** Intelligent caching with 80% reduction in database
   queries
 * **Security Enhancements:** CSRF protection, input validation, and output escaping
 * **Accessibility:** Screen reader support and keyboard navigation
 * **Testing:** Comprehensive automated test suite (unit and integration tests) 
   covering core functionality

**How it works:**

The plugin modifies WordPress’s main query on the home page to exclude posts from
selected categories. Posts from excluded categories won’t appear on the home page,
but they remain fully accessible through:
 * Category archive pages * Search results*
Direct URLs * RSS feeds * Other WordPress queries

**Live Examples:**

This plugin is actively used on:
 * [trendsanctuary.com](https://trendsanctuary.com)–
Technology, life and home trends and insights * [ecosdeleden.com](https://ecosdeleden.com)–
Educational content for children

### Configuration

 1. Go to `Settings > PECF Plugin` in WordPress admin
 2. Select categories you want to exclude from the home page
 3. Click “Save Changes”
 4. Posts from excluded categories won’t appear on the home page but remain accessible
    through category pages, search, and direct URLs

### License

This plugin is licensed under the GPLv2 or later.

This program is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this
program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
Floor, Boston, MA 02110-1301 USA

## 螢幕擷圖

 * [[
 * Plugin in the list of installed plugins.
 * [[
 * Plugin configuration panel.
 * [[
 * Plugin configuration panel – Help section showing Overview.
 * [[
 * Plugin configuration panel – Help section showing How to use guide.

## 安裝方式

**WordPress Admin (Recommended):**
 1. Go to `Plugins > Add New` 2. Search for “
PE Category Filter” 3. Click “Install Now” and “Activate”

**Manual Installation:**
 1. Download the plugin from the WordPress.org repository
2. Upload to `/wp-content/plugins/pe-category-filter/` 3. Activate through the WordPress
admin

**Alternative Methods:**
 For developers, this plugin is also available through 
Composer and GitHub for advanced installation methods.

## 常見問題集

### Can I use this plugin on a multisite installation?

Presumably, yes, the plugin should work with WordPress Multisite (not comprehensively
tested). Each site would have its own category filter settings.

### Is this plugin accessible?

Yes, the plugin supports screen readers and keyboard navigation.

### Does this plugin affect SEO?

No, the plugin only affects the home page display. Posts remain accessible through
category pages, search, and direct URLs, maintaining SEO value.

### Will this plugin slow down my website?

No, the plugin is designed for optimal performance with intelligent caching and 
efficient queries.

### Can I change my mind and include categories again?

Absolutely! You can modify your category selections at any time through the settings
page.

### Does it work with caching plugins?

Yes, the plugin is fully compatible with all major caching plugins including WP 
Rocket, W3 Total Cache, and LiteSpeed Cache.

### Is it compatible with page builders?

Yes, the plugin works with all major page builders including Elementor, Gutenberg,
Beaver Builder, and Divi.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ Pavel Espinal ](https://profiles.wordpress.org/khratos/)

[將〈PE Category Filter〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/pe-category-filter)

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

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

## 變更記錄

#### 2.0.1

 * Fixed admin interface category layout to display one per line
 * Improved category description display and formatting
 * Enhanced CSS with vertical flexbox layout for better readability
 * Simplified asset loading by removing unused minified files
 * Fixed category grid breaking when descriptions are present
 * Improved user experience in plugin settings page

#### 2.0.0

 * Complete architectural modernization
 * Symfony-inspired dependency injection
 * Performance optimization with intelligent caching
 * Security enhancements with CSRF protection
 * Screen reader support and keyboard navigation
 * Comprehensive testing suite (51 tests)
 * Modern PHP 8.3+ features
 * Complete documentation overhaul

#### 1.4.0

 * Global code refactoring in order to use classes, namespaces and to ensure compatibility
   with latest WordPress and PHP versions.
 * Included a package definition using a `composer.json` file in order to allow 
   installation from **Github**.
 * Included a `phpcs.xml` configuration file for `phpcs`.
 * Switched to semantic versioning system for releases.

#### 1.3

 * Global code assessment to ensure compatibility with latest WP versions.
 * Adding the GitHub README.md file (this plugin is now also hosted on github).
 * Corrections to “readme” file/documentation.

#### 1.2

 * Global code assessment to ensure compatibility with latest WP versions.
 * Corrections to “readme” file/documentation.

#### 1.1

 * Allowing to exclude categories whether they have posts or not.
 * Global code assessment to ensure compatibility with latest WP versions.
 * Improving “readme” documentation.

#### 1.0

 * Stable release.

## 中繼資料

 *  版本 **2.0.1**
 *  最後更新 **8 個月前**
 *  啟用安裝數 **200+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 8.3 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/pe-category-filter/)
 * 標籤:
 * [category](https://tw.wordpress.org/plugins/tags/category/)[exclude](https://tw.wordpress.org/plugins/tags/exclude/)
   [filter](https://tw.wordpress.org/plugins/tags/filter/)[performance](https://tw.wordpress.org/plugins/tags/performance/)
   [security](https://tw.wordpress.org/plugins/tags/security/)
 *  [進階檢視](https://tw.wordpress.org/plugins/pe-category-filter/advanced/)

## 評分

 5 星，滿分為 5 星

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

[Your review](https://wordpress.org/support/plugin/pe-category-filter/reviews/#new-post)

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

## 參與者

 *   [ Pavel Espinal ](https://profiles.wordpress.org/khratos/)

## 技術支援

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

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