liberté

Blogging my Life's journey…

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)
share save 120 16 How To: Wordpress customised Category displayed on Home Page

Related posts:

  1. Problem with WordPress 2.8.4 Upgrade
  2. WP Plugins are not working
  3. How To: Host and setup your WordPress Blog
  4. How To: Resolve WordPress SimplePie_Cache Fatal Error
  5. Securing WordPress blog

Comments

Leave a Reply





*
  • About Me

    Mark Tan, Singapore.

    Simple guy enjoying life.

  • Advertisement

    EmailCashPro