PE Category Filter
by Pavel Espinal on WordPress.org
Modern WordPress plugin for filtering categories from home page with performance optimization and security enhancements.

Plugin in the list of installed plugins.
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 – Technology, life and home trends and insights
* ecosdeleden.com – Educational content for children
Configuration
- Go to 
Settings > PECF Pluginin WordPress admin - Select categories you want to exclude from the home page
 - Click “Save Changes”
 - 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