PHP filter with two conditionals
Hi. I added a Yummly button to recipe posts on one site using GP Hooks “After Entry Title.” <?php if ( in_category( 'food' ) ) { ?> <a href="//yummly.com" rel="nofollow" class="YUMMLY-YUM-BUTTON">Yum</a> <script src="https://www.yummly.com/js/widget.js?wordpress"></script> <?php } ?> It looks great on the posts, but it’s also showing up on the category pages, which I don’t want … Read more