Title: PE Category Filter
Author: Pavel Espinal
Published: <strong>3 Marzo 2012</strong>
Last modified: 6 Settembre 2026

---

Ricerca i plugin

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

# PE Category Filter

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

[Scarica](https://downloads.wordpress.org/plugin/pe-category-filter.2.1.1.zip)

 * [Dettagli](https://it.wordpress.org/plugins/pe-category-filter/#description)
 * [Recensioni](https://it.wordpress.org/plugins/pe-category-filter/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/pe-category-filter/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/pe-category-filter/#developers)

 [Supporto](https://wordpress.org/support/plugin/pe-category-filter/)

## Descrizione

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](https://slackware-es.com)–
Spanish Slackware Linux community * [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

## Screenshot

[⌊Plugin in the list of installed plugins.⌉⌊Plugin in the list of installed plugins
.⌉[

Plugin in the list of installed plugins.

[⌊Plugin configuration panel.⌉⌊Plugin configuration panel.⌉[

Plugin configuration panel.

## Installazione

**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.

## FAQ

### 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.

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“PE Category Filter” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

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

[Traduci “PE Category Filter” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/pe-category-filter)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/pe-category-filter/)
segui il [repository SVN](https://plugins.svn.wordpress.org/pe-category-filter/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/pe-category-filter/)
tramite [RSS](https://plugins.trac.wordpress.org/log/pe-category-filter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.1.1

 * Fixed: the “everywhere on the front end” scope no longer filters category archives,
   search results or feeds — excluded posts remain fully browsable there, as intended.
   The scope now applies only in the front page / blog index context.

#### 2.1.0

 * Added a “Filter scope” setting to control where excluded categories are hidden:
   blog posts index only (default), blog index plus a static front page, or everywhere
   on the front end (including theme homepage sections and recent-posts blocks).
   Fixes excluded posts still appearing on static front pages built from secondary
   queries.
 * Excluding a parent category now also excludes its child categories.
 * Centralized the query-eligibility check as a single source of truth.
 * Backward compatible: the default scope preserves the previous behavior.

#### 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.

## Meta

 *  Versione **2.1.1**
 *  Ultimo aggiornamento **3 settimane fa**
 *  Installazioni attive **200+**
 *  Versione WordPress ** 6.0 o superiore **
 *  Testato fino alla versione **7.1.2**
 *  Versione PHP ** 8.3 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/pe-category-filter/)
 * Tag
 * [category](https://it.wordpress.org/plugins/tags/category/)[exclude](https://it.wordpress.org/plugins/tags/exclude/)
   [filter](https://it.wordpress.org/plugins/tags/filter/)[performance](https://it.wordpress.org/plugins/tags/performance/)
   [security](https://it.wordpress.org/plugins/tags/security/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/pe-category-filter/advanced/)

## Valutazioni

 5 su 5 stelle.

 *  [  1 5- recensioni a stelle     ](https://wordpress.org/support/plugin/pe-category-filter/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/pe-category-filter/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/pe-category-filter/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/pe-category-filter/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/pe-category-filter/reviews/?filter=1)

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

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/pe-category-filter/reviews/)

## Collaboratori

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

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/pe-category-filter/)