Forum Moderators: coopster
I have the following hook/code that I'm trying to display ONLY on post type pages. Currently, with the current rendition of this code - it shows the hook on posts, pages AND the home page. I just want it to show up on the posts. Is there a variable and if statement I can use to fix this? Thanks!
<?php function custom_ad1() { ?>
code here
<?php }
add_action('thesis_hook_after_post', 'custom_ad1', '1');
?>