About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
chihung
2/28/2020 - 7:58 AM
share
Share
add_circle_outline
Save
If you are looking to show a certain div only if the post belongs to a certain category, try the code bellow
php.php
content_copy
file_download
<?php if(in_category('category_slug')){ ?> your div and content here.. <?php } ?>
clear