• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Blog signature issue

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Blog signature issue

This topic is: resolved

Tagged: blog, signature

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 4 months ago by hmistler.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 1, 2015 at 11:07 am #146378
    hmistler
    Member

    Hello - I have added a 'signature' to my site that appears at the end of every blog post. Here is the code I used, based off someone's advice:

    //* Add Signature Image after single post
    add_filter('the_content','add_signature', 1);
    function add_signature($text) {
     global $post;
     if(($post->post_type == 'post')) 
        $text .= '<div class="signature"><img src="http://www.haleymistler.com/wp-content/uploads/2015/03/haleylettering_web.png"></div>';
        return $text;
    }

    My question is: How do I get it off the main blog page, and only show up on the actual post pages? I usually use "read more" links for the main blog page, but this signature keeps showing up on the main blog page, after 'read more'. I only want it on the post pages. Does anyone have any advice on how to do that? The person I used the code from did not have a solution for this. Thanks in advance!!

    http://www.haleymistler.com/blog/
    April 2, 2015 at 11:14 am #146471
    lizbarber05
    Member

    This is the code I use:

    // Add Signature Image after single post
    add_action('genesis_after_entry_content', 'custom_include_signature', 1);
    function custom_include_signature() {
    if(is_single()) { ?>
    <img src="IMAGE URL HERE" alt="Signature" />
    <?php }}
    April 2, 2015 at 11:57 am #146476
    hmistler
    Member

    That's great, thank you. Any chance it can be moved to be above the share buttons I have? I'm using Simple Share Buttons.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Blog signature issue’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble