• 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

add a 'leave a comment' link at end of posts

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 › General Discussion › add a 'leave a comment' link at end of posts

This topic is: not resolved

Tagged: comment policy box

  • This topic has 6 replies, 2 voices, and was last updated 13 years, 5 months ago by karlaarcher.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 3, 2013 at 8:47 pm #17748
    karlaarcher
    Member

    I'd like to add 'please leave a comment' or something of the sort to the end of each post, == linking to the the comments would be even more awesome.

    Any thought on how?


    Karla Archer
    archercreative.com

    February 3, 2013 at 9:25 pm #17765
    AnitaC
    Keymaster

    Please post a link to your website. Thank you.


    Need help with customization or troubleshooting? Reach out to me.

    February 3, 2013 at 9:25 pm #17767
    karlaarcher
    Member

    I added the Comments Policy Box code (below) to the functions and edited it (my client really just wants a call to action to leave a comment; doesn't have to link) but it's not showing.

    /** Add a comment policy box */
    add_action( 'genesis_after_comments', 'single_post_comment_policy' );
    function single_post_comment_policy() {
        if ( is_single() && !is_user_logged_in() && comments_open() ) {
        ?>
        <div class="comment-policy-box">
            <p class="comment-policy"><small><strong>Comment Policy:</strong>Your words are your own, so be nice and helpful if you can. Please, only use your real name and limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.</small></p>   
        </div>   
        <?php
        }
    }


    Karla Archer
    archercreative.com

    February 4, 2013 at 6:34 am #17803
    AnitaC
    Keymaster

    Morning, sorry I didn't respond last night! I fell asleep. Anyway, take a look at this, it should help you.

    Comments


    Need help with customization or troubleshooting? Reach out to me.

    February 4, 2013 at 10:54 am #17909
    karlaarcher
    Member

    That's what I added last night, but it didn't show up.

    The thing is, I'd just a link that says 'leave a comment' at the end of each post on the homepage and on the blog page that takes you to the individual post page. Right now, on the home page there is nothing below the post and my client is requesting that specifically.

    http://www.graspingforobjectivity.com/ is the link.

     


    Karla Archer
    archercreative.com

    February 4, 2013 at 11:04 am #17913
    AnitaC
    Keymaster

    When I go here - http://www.graspingforobjectivity.com/2013/02/one-thorough-butt-wipe.html I see the comment area... if they were to change the Settings > Discussion to - users need to be logged in to comment - a message will appear to that effect - You need to be logged in to comment." Also, you can use the Genesis Simple Hooks to get that message to show up. Are you familiar with that?


    Need help with customization or troubleshooting? Reach out to me.

    February 4, 2013 at 11:25 am #17921
    karlaarcher
    Member

    Thanks Anitac!

    I ended up putting [post_comments] in the meta tag. Issue solved. I was totally over thinking this...


    Karla Archer
    archercreative.com

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ 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

© 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