WordPress: If In Category

/ Published in: PHP
Save to your folder(s)

For use on a single page... Only displays the content if the displayed post is in the specified category. You can use the category slug or the category ID if you know it.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.