Home » Interview Question » Wordpress » Exclude a Category Posts from the Home Page in WordPress

Exclude a Category Posts from the Home Page in WordPress

Exclude a Category Posts from the Home Page in WordPress

Today i will tell you how to hide a specific category all post from the blog home page. If you want tot hide a specific category all Post or More tah one category then create a function and this function in your theme function file.

How to Find the Post category Id

To find a category id we can edit any post from this category.If we have create a New category first create a new post under this category after tahn edit this post and get the category id.

Note : include the negative symbol before your category is Prevents to display specified categories posts. We can Prevents to display more than one category post using this method. To adding another categories.

, , , ,

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 class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">