October 9, 2012

How to Prevent Posts From a Particular Category to be Displayed in WordPress Loop

Do you need to exclude a particular category of posts from display on the WordPress loop? If yes, here is a handy code snippet to do so. Paste the code below into your functions.php file. Don’t forget to update the code with the category ID you want to exclude (on line 4)

Related Articles:


Latest on WordPress (LatestWP) was established in 2010 to serve the WordPress community as a reliable source of information, news, tutorials, tips, themes and plugins reviews, and more. Stay tuned with us at the following Social Media channels.

Related Post

How Your WordPress Blog can Bring Success to Your ... Finding a job in an unstable economy is difficult whether you just graduated college or recently ended your long-term employment. Despite the obstacle...
5 Powerful Anti-Malware WordPress Tools Plenty of web publishers spend the majority of their time creating killer content for their websites. There is nothing wrong with that approach. Conte...
How to Use WordPress to Show a Post’s Estimated Re... Let’s face it. Most people these days have a short attention span. It’s the internet after all. There are so many different websites and articles out ...
Helpful Tips, Hacks and Tutorials about WordPress You’ve decided you need a website on WordPress or you want to create one for your client by using this wonderful platform because it is absolutely fre...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Pin It on Pinterest

Share This