View Single Post
Old 02-15-2010, 04:19 PM  
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
you don't need any plugin. You can do it in many ways, the easier one is to add the post to a category with posts that won't show, ie "privateposts".

Now open your theme's index.php and look for the loop. It can be constructed in different ways depending on the theme, but you will see something like this:

Code:
 <?php query_posts ?>
Code:
 <?php query_posts($query_string . '&cat=25'); ?>
where 25 is the category ID

or

Code:
 <?php query_posts($query_string . 'category_name=privateposts'); ?>
of course you can exclude by many criteria, including custom fields, by author, by post ID, by date and so on, but the one above is the easier one IMHO
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote