• 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

Is there a way to have the same text appear at the bottom of a post.

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 › Is there a way to have the same text appear at the bottom of a post.

This topic is: not resolved
  • This topic has 5 replies, 4 voices, and was last updated 8 years, 3 months ago by Erika.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 23, 2017 at 3:23 am #210663
    tokyoprogressive
    Member

    I am using Magazine Pro and every post has the same information appearing at the bottom. Please see, for example, this post:

    Okinawa still trapped in the grip of U.S. militarism

    The recurring text and image is the horizontal line and "Please support our work" all the way to the bottom (Facebook etc. icons are not part of this).

    Until now, the only way I can do this is to copy and paste from an existing post. Would love to have it appear automatically or create a template post. I tried that, by creating a post with a date far into the future, then changing the name. But when I try that, the original post is no longer available.

    Thanks.

    http://tokyoprogressive.org/okinawa-still-trapped-grip-us-militarism-tim-shorrock
    August 23, 2017 at 3:36 am #210665
    Brad Dalton
    Participant

    You can add the text into the after entry widget

    or

    Hook it in using PHP code in functions.php.

    add_action( 'genesis_entry_footer', 'post_text', 5 );
    function post_text() {
    if ( is_singular( 'post' ) ) {
    echo'your text';
        }
    }
    

    Tutorials for StudioPress Themes.

    August 23, 2017 at 5:27 am #210666
    tokyoprogressive
    Member

    Thank you. But I am not sure.

    In my wight area I do not see that particular widget. Do I have to download it from somewhere?

    The other idea, the hook, seem only for text but I want to include my graphic, so I guess the answer entry is best?

    An important thing I just thought of:

    Will adding either of these, by the way, screw me up in that all my previous entries over the last year have the text and graphic added by hand. Will adding the hot or after entry options mean that I now have duplicates, or does it only affect posts going forward?

    Thank you!

    August 23, 2017 at 6:51 am #210672
    Victor Font
    Moderator

    Unless your version of Magazine Pro has been customized, the delivered version definitely supports the after entry widget area. It is activated at line 124 in functions.php.

    Yes, adding text to the after entry widget area will display it on all posts regardless of age. I haven't done this specifically, but in theory you can wrap the widget display in a WordPress conditional where you can display it only if a post has been published beyond a certain data or has an id greater than x. https://codex.wordpress.org/Conditional_Tags


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    August 23, 2017 at 7:57 am #210677
    tokyoprogressive
    Member

    Thanks. But where can I find this functions.php? I am hosted on Studio Press and I know they have removed the WordPress editor system wide for security reasons. I am not sure this is the same kind of thing. (I was asking them about another issue-changing the font size in tag clouds). They said, "We encourage all users to edit PHP through SFTP, as you can use SFTP and a text editor to achieve the same editing goals in a much safer fashion. We also highly encourage backing up or making a copy of any files that you edit so you can easily undo changes should issues occur."

    I am presently waiting for an explanation on how to do the above for the tag clouds as I have no experience working with ftp for the last 10 years.

    Once I have understood a bit more, I might attempt. But then I have to consider if it isn't less work just to add the extra text each time.

    paul

    August 23, 2017 at 11:53 am #210684
    Erika
    Participant

    You can also just use this CSS snippet and add other properties to it accordingly:

    .single .entry-content::after {
    content: "Your message here";
    }

    This will make your message appear below share buttons in most cases.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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