Last active
August 29, 2015 14:16
-
-
Save cre8tivediva/b409edfa229abd37c683 to your computer and use it in GitHub Desktop.
Add signature via Functions (working code) Use with Portfolio Custom Post Type
This file contains hidden or 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 Signature Link | |
function custom_content_after_post($content){ | |
if (is_singular( 'post' )) { | |
$content .= '<p>Load Your Content Here</p><img src="#" alt="Your Name" />'; | |
} | |
return $content; | |
} | |
add_filter( "the_content", "custom_content_after_post" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment