Last active
December 22, 2015 03:39
-
-
Save braddalton/6411659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function single_post_ad_300() { | |
if ( !is_page() && !is_home() && !is_single( array( 13406,5526,1025,14717,991, ) ) ) { | |
echo '<div class="post-ad">adsense code here</div>'; | |
} | |
} | |
add_action('genesis_entry_header', 'single_post_ad_300', 12 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment