Support » Fixing WordPress » Create signature (type) file for all posts?

  • I reference the same info (RSS feed, web site URL) in all of my blog posts. I currently copy/paste this from the previous post into each new one.

    Is it possible to set up a signature file in WP, so this info would already be there for me whenever I create a new post?


    – Michael (

Viewing 1 replies (of 1 total)
  • write the code in your functions.php file

     function showSignature(){
       $sig = "This my signature";
       $content = apply_filters("the_content", $sig);
       echo $content;
     add_action("publish_post", 'showSignature');

    This just sample. You will modify it after test.

Viewing 1 replies (of 1 total)
  • The topic ‘Create signature (type) file for all posts?’ is closed to new replies.