...

View Full Version : WordPress 3.4.2 Exclude Category From Posts



stevenmw
12-09-2012, 06:00 AM
Want to exclude posts from a specific category in your WP news / blog feed?

Add

<?php query_posts('cat=-3'); ?>directly above the while loop in your index.php of your theme that outputs the feed.

JiDevk
12-17-2012, 12:58 PM
Thanks for sharing . Fast and good solution .



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum