Front Page Category
A plugin that let you choose posts from one or more categories to appear on the front page.
Description
Front page category is a plugin that let you choose posts in one or more categories to appear on the front page. If there are some category that you don’t want to appear on front page, especially uncategorized one, just simple go to Settings section, click at Front Page Category and uncheck those categories. This is extremely useful useful if you use an automated posting system, or posting through mail. In this case, you can assign these posts to a category of your choice and uncheck it at Front Page Category settings. As the result they don’t appear on the front page, but do appear in a category page.
Installation
- Download the zip and unzip the ‘front-page-category.zip’ file into the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Visit Front Page Category in Settings section, uncheck categories that you don’t want to show up on front page
- View your front page and confirm that your excluded categories are not showing.
Frequently Asked Questions
I need help or found a bug!
Comment me about it!
Help, there are some posts that won’t obey the rule!
If you save several thousands post, may be some of your very old post (or converted post from other CMS), some of them may not obey the rules due to lack of meta information. Simply copy-paste content to another post, and remove old one.
Screenshots
Demo site’s available, please have a look.
Changelog
1.0 – Initial Release.
Upgrade Notice
- Not yet
Demo Sites
Well, compare front page of www.vysajp.org and category page to see some posts are shown on category page but not on front page.
When I try to go to the settings panel (from the admin back-end) I get “You do not have sufficient permissions to access this page.”
Hi,
a good idea, but one little thing makes this plugin useless (at least for me). A post has to have all it’s categories checked to be displayed. Since every post usually has more than one category, I have to have all categories checked and it makes no sense
So glad I found this plugin, it saved me tons of trouble. Thank you!!!
Thanks for this WordPress plugin!
I have updated it, adding functionality and fixing a bug.
The new feature is a positive filter in addition to the negative one (“Show only posts that are in one of these categories” and “Hide all posts that are in one of these categories”).
The bug fix is that the extention now also works without PHP short_tags.
I did not find any contect information of you, otherwise I would have sent you the code.
Hi,
you use php short tags in that plugin. That may lead to failures on most systems because most curtent php installations have disabled this feature.
However that is easy to fix.
Christopher
I’d like to request a feature. There should be an option to disable new categories from automatically showing on the home page when they are created.
I noticed that when I create a new category, it automatically shows up as ‘checked’ on the Front Page Category plugin options page. I’m sure some people are using this as an ‘exclusion list’. I’m using it as an ‘inclusion list’. Meaning only include the ones I select.
JWall Reply:
December 3rd, 2011 at 8:52 am
Ok, I got it, this will be developed soon! Please wait!
I also really need the option to be able to use Category A & B, as Adam says. Hope you’re able to add that to the next version! Good job on the plugin.
I’ve installed and tried to filter out category 6 (my podcasts) but it doesn’t seem to work. You can see when the home page loads, the podcasts are there. Using WP 3.2.1. Don’t know what to do. Modified string to read $cats_to_exclude = ’6′; Thanks.
Hi,
Is there a solution of a compatible plugin (or code) to solve the siderbar widget issue?
I’ve tried both “Category Posts Widget” and “List Category Posts” but they both exclude the categories that are excluded from using the plugin.
I’ve solved it using a Simple RSS widget, just showing the feed from the category using http://www.yourdomain.com/categoryname/feed.
This way it bypasses the category tag altogether.
Cheers,