A simple plugin that displays a list of all categories except those selected in widget preferences. Unlike other similar plugins like “Almost All Categories Widget”, Categories but exclude uses the latest version of WordPress Widget API, which is multi-widget, which lets you use the wigdet more than once. Mostly, I created the plugin to use it with the plugin “WPML” along with “Widget Logic” to use the same widget for each language.
This will allow you to create a custom category list which will show the categories you want, and will hide the categories you do not want. For example, say you have a particular category you don’t want to be displayed named “Announcements”. You can use this plugin to display all of your other categories, except the category “Announcements”. You are not limited to just excluding one category; you can exclude multiple categories.
If you have created your own language pack, or have an update of an existing one, you can send me your gettext PO and MO so that I can bundle it into the Categories but exclude. You can download the latest POT file from here.
- Upload the *.zip copy of this plugin into your WordPress through your ‘Plugin’ admin page.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Place the widget in your desired sidebar through the “widgets” admin page
- Where is the “widgets” admin page?
The “widgets” admin page is found in the administrator part (wp-admin) of your WordPress site. Go to Appearance > Widgets
- How do I find the category ID number?
First go to your Posts > Categories in the administrator part (wp-admin) of your WordPress site. Click the category you desire to find its ID. Its ID number should then be displayed in the URL section of your browser. (It should say $tag_ID= followed by your category ID number.
Contributors & Developers
“Categories but exclude” is open source software. The following people have contributed to this plugin.
Interested in development?
- Initial Release