You can use get_post_type() to check which content you’re appending your signature to.
function add_signature($content){
if( get_post_type() == 'post' )
return $content . "signature";
}
add_filter('the_content', 'add_signature');
You can use get_post_type() to check which content you’re appending your signature to.
function add_signature($content){
if( get_post_type() == 'post' )
return $content . "signature";
}
add_filter('the_content', 'add_signature');