PE Category Filter

Description

This plugin allows you to exclude posts that belong to certain categories from your home page, while they will still be reachable
from the inner sections of your site.

This is an ad-hoc solution that aims to do one thing, and do it right, with near the smallest footprint possible. So please note the following:

  • The functionality of this plugin can not be limited to a given widget on the home page. Example:

Given a the category “MyCategory” from which you want to exclude posts on the home page, and at the same time you want to display posts of “MyCategory” in a widget that is also located in the home page, will not be possible.

Such a functionality, in my opinion, would be overkilling because what you are looking for is not to exclude everything and do one exception, instead you should allow everything and do one exception.

  • The focus of this plugin is simplicity, performance and correctness of the code.

You can see this plugin in action the following projects:

  • http://asteriskfaqs.org – Important VoIP community project.
  • http://centosfaq.org
  • http://slackware-es.com – Spanish version of the Slackware Linux project’s website (Spanish)

Screenshots

  • Plugin in the Plugins menu.
  • Plugin configuration panel.

Installation

  1. Upload pecf_catfilter to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘Settings’ and choose which categories’ posts you want to exclude from the Home Page

FAQ

  1. I’m using the plugin and while it works as expected, I would like it to allow content from a filtered category to be displayed by
    some other plugin. Is that possible?

No. At least not for now. Read the description for more details.

Installation Instructions
  1. Upload pecf_catfilter to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘Settings’ and choose which categories’ posts you want to exclude from the Home Page

Contributors & Developers

“PE Category Filter” is open source software. The following people have contributed to this plugin.

Contributors

Translate “PE Category Filter” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Stable release.

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

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

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.