Worpress PAGE Excluder plugin needed

by techmoo 2 replies
Hi,
I am running a guest blog (techmoo.com) in WordPress and gets many guest posts from contributors, as you know there are two types of content thy contribute
1. Unique (only)
2. Unique but informative and Rich Content
Now here i want to exclude the posts from first page that are only "Unique" and wants only to include to "Rich Content" that have some value to readers,
Please suggest me any plugin or any other tips to do that, cause i don't want that more garbage stuff on my home page.

Thanks
#programming #excluder #needed #page #plugin #worpress
Avatar of Unregistered
  • Profile picture of the author kreitje
    Try adding this code to your themes index.php file. This should go just above where it starts to loop through all the posts.

    Code:
    if(is_front_page()) {
    query_posts(  . '&cat=1' );
    }
    Replace "1" with the category id you have assigned for the "Rich Content".
    Signature
    HitMyServer.com - Web, Email, Development
    HitMyServer.net - Web/Server Posts
    Do you have premium WordPress Plugins. Checkout my WordPress Plugin Manager for providing updates to your clients.
    {{ DiscussionBoard.errors[7555943].message }}
    • Profile picture of the author techmoo
      Originally Posted by kreitje View Post

      Try adding this code to your themes index.php file. This should go just above where it starts to loop through all the posts.

      Code:
      if(is_front_page()) {
      query_posts(  . '&cat=1' );
      }
      Replace "1" with the category id you have assigned for the "Rich Content".
      It Works! Thank you
      {{ DiscussionBoard.errors[7557000].message }}
Avatar of Unregistered

Trending Topics