How To: WordPress customised Category displayed on Home Page
Posted on | September 28, 2009 | No Comments
I am hunting high and low for a good plugin or code to handle customised category display on my home page. For instance, on my homepage, I do not want to display “How To”, “Courses” categories.
I tested a few plugins which meet my needs. However, its performance is intermittent, sometimes, it work perfectly; other times, it just failed miserably. In the end, I resorted to editing the home.php file by adding
if (is_home()) {
query_posts(“cat=-260, -274″);
}
before the
if (have_posts()) : while (have_posts()) : the_post();
It works perfectly when viewing the 1st page; however, it does not work when you click next page. Sighz!!!
Thus, in conclusion, i decided to use “Advanced Category Excluder“. It is a simple plugin with many different category customised options. With simple interface, my customised category homepage loads without any problems. It have customisation for
- Pages
- Links
- Link Categories
- Tags (Coming Soon)
Related posts:
- Problem with WordPress 2.8.4 Upgrade
- WP Plugins are not working
- How To: Host and setup your WordPress Blog
- How To: Resolve WordPress SimplePie_Cache Fatal Error
- Securing WordPress blog
Comments
Leave a Reply





