RYO ‘Category Visibility’ WordPress Plugin
I needed a plugin that would display Posts only from certain categories. I found an earlier version of this plugin and modified it for my needs; now I’m sharing it with you.
Beta test version available.
A good example of Category Visibility is this very website. It’s purpose is to serve my web customers, most of whom wouldn’t have any idea how to install a plugin. I didn’t want plugin Posts to show to my regular users, but wanted to make the plugins available to other WordPress users who would want them.
See all of our WordPress Plugins
I created a WP Plugins category and unchecked “Front” and “List.” This keeps these Posts off the home page, and the listing off the sidebar.
The “WordPress Plugins” link above illustrates the point. It’s a link to the category page, which lists the plugins. You can see the category page and the associated Posts just fine. But that category does not show up in the sidebar, or on the home page.
This way, you get access, in fact, anyone can search for them and find them. But they’re not “out there” on the home page or in category links in the sidebar bothering my regular users.
Screenshot

History
I was using a Wordpress plugin called Category Visibility (Keith McDuffee) which was written for WordPress 1.5.
It had a few odd points like when it filtered posts off the Home Page that was okay but it didn’t replace them; that is, if your front page was supposed to show 10 posts and two were filtered out, you’d only get eight posts. I fixed that and a few other tricky things.
It was wonderful, and lots of users agreed. Then WordPress 2.1 came out and broke everything. So I stuck with WP 2.0 for a long time.
No more! I woke in the middle of the night with an idea on how to re-think the logic and rewrite the whole thing from scratch. The new approach is more concise and takes fewer resources.
The result is faster, leaner, and, I hope, more likely to work with newer versions of WP. The same, familiar interface. Far more efficient.
Multiple categories on a post? Fine. The plugin tells WP which categories to exclude. This might not always be what you want. But it’s how it works.
There’s no upgrade path. If you’re using an older Category Visibility from one of the folks who tried to upgrade the old code, uninstall that first.
Instructions
Simply download and unzip it.
Put it in your plugins directory.
Activate it.
Go to Settings, RYO Category Visibility to see the visibility settings for all categories. the options are:
- Front: Posts show up on the main (home) page.
- List: Categories that will show up in the List of categories in the sidebar.
- Search: Posts show up in search results.
- Feed: Posts show up in the main RSS/Atom feed.
- Archive: Posts show up in archive pages (i.e., clicking on the calendar links).
- User Level: Numeric user level required to see these Posts.
Everything is checked to show up by default.
When you have a category to exclude from the front page, or the sidebar, etc., go to “Manage,” “Category Visibility,” and deselect the areas where you want the category to disappear.
This method is not designed as a security device, only as a display method. A guest can still access a post by post number.
Download
Download Beta Test Version for WP 2.8.x:
Ver. 2.8-beta-.04.Currently in beta. It seems to be working on my website running 2.8. May work on older versions as far back as 2.3. How about yours? Beta .02 adds User Level control as in the original. Beta .03 corrects for compatibility with some other plugins. Beta .04 corrects for an initialization problem with some php installations and moves the options page to Settings.
Legacy version, WP 2.0.x: Ver. 1.0.0e. This plugin version only works in WordPress 2.0.
I hope you continue to keep this plugin up-to-date. There aren’t any other working plug-ins like this available.