Genesis / StudioPress: Add Signature After Single Post

I started adding a signature to my blog posts… but shuddered at the thought of having to go back through all my previous posts to add it. If only there was a way to automatically add my signature to each of my posts… as well as add it to my past posts…

Well, I shudder no more because it only took a simple bit of code to get this done!

The great thing about this method is that you only have to do it once (and it’s simple!!), and if ever you want/need to update your signature, you just need to update this code and it updates on every single post!

Here’s the code I use to add a signature text/image after each post:

  1. Access your active Genesis/StudioPress theme and open the functions.php file.
  2. Copy the code snippet below and paste into the bottom of your file
  3. Replace the “ADD YOUR TEXT / IMAGE HERE” bit with your own text and image, and save.

[code type=”php”]
// Add Signature After Single Post

add_action(‘genesis_after_post_content’, ‘include_signature’, 1);
function include_signature() {
if(is_single()) { ?>
<?php }}

Easy Step By Step to Starting Your Own Blog!
Genesis / StudioPress: Open Comment Author Link in New Window

Tell me what you think! (Leave a comment...) is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to

Leave a Comment...


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Send this to a friend