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 to Add Tables in WordPress Posts and Pages Wit... WordPress comes with a visual post editor which is nice, but there are certain things that it can not do. Creating tables is one of them. Tables are a...
7 WordPress Time and Date Plugins to Keep Your Sit... As a new year approaches, thoughts naturally turn to the subject of time. And so in that vein, here are seven WordPress plugins that revolve around th...
MagMan – A New Responsive News and Blog Prem... MagMan is a new premium Theme from ThemeForest. It’s a very clean, minimal theme with modern responsive design that is suitable for magazines and bl...
Interview with Kevin Muldoon from WPMods Kevin Muldoon – a popular blogger is well known for his WPMods Blog. He is creating and marketing websites since early 2000. WPMods is a WordPress blo...

Leave a Reply

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

Pin It on Pinterest

Share This