Close

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:

[related_posts]

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 to Automate Your Facebook & Twitter Post ... One of my biggest bugbears used to be releasing my new WordPress posts into the social media world... Related Articles:
The Ultimate Site Finalization Checklist for Profe... How often do you do create a new website for yourself or someone else? Do you just dive in and start working your WordPress theme, plugin, and setting...
How to Add a Signature to Your WordPress Posts Adding a signature to your WordPress posts is one way to give your blog a more personal touch. The code below will automatically include your signatur...
Video: How to Change the Fonts of Your WordPress S... WordPress continually proves itself time time and again that it has very few limitations, and is rapidly pushing itself to being, if not the best, but...

Leave a Reply

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

Pin It on Pinterest

Share This