跳到内容

PE Category Filter

v2.1.1

Pavel Espinal · 2012年3月3日 上架

Modern WordPress plugin for filtering categories from home page with performance optimization and security enhancements.

正在使用
200+
评分
5.0 / 5
累计下载
1.6 万
最近更新
2026年9月6日
1 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 8.3+

贡献者

截图

Plugin in the list of installed plugins.
Plugin in the list of installed plugins.
Plugin configuration panel.
Plugin configuration panel.

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:

  • Flexible filter scope: Choose where excluded categories are hidden — the blog posts index only (default), also a static front page, or everywhere on the front end (including theme homepage sections and recent-posts blocks).
  • Hierarchy-aware: Excluding a parent category also excludes its child categories.
  • 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 excludes posts from selected categories from your site’s front-facing listings, according to the filter scope you choose (blog posts index, static front page, or all front-end post queries including theme homepage sections). Posts from excluded categories won’t appear there, 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:
* slackware-es.com – Spanish Slackware Linux community
* 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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums