Last active
March 30, 2018 08:21
-
-
Save braddalton/af52dab0ec0aa6de93fb495899c1db25 to your computer and use it in GitHub Desktop.
Add Affiliate Disclosure After Single Post Entry Titles in Genesis https://wp.me/p1lTu0-hql
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
add_action( 'genesis_entry_header', 'affiliate_disclosure', 12 ); | |
function affiliate_disclosure() { | |
if ( is_singular( 'post' ) ) : | |
echo 'Hello World'; | |
endif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment