• 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

Modify the text "Leave a Comment"

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 › Modify the text "Leave a Comment"

This topic is: not resolved

Tagged: genesis_post_comments_shortcode, post_comments

  • This topic has 4 replies, 3 voices, and was last updated 6 years, 7 months ago by giampaolofalasca.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 21, 2019 at 5:19 pm #494156
    giampaolofalasca
    Participant

    HI, I wanted to ask you how can you modify the text "Leave a Comment" shown in the screenshot?
    See screenshot: https://www.dropbox.com/s/z0tb52vwykihq7i/LEAVE%20A%20COMMENT.png?dl=0
    I used the code shown here, but it didn't work: https://gist.githubusercontent.com/SanjeevMohindra/2b06eda07da10680aaddbe813792695b/raw/dd2563967956f78f091a6b0ed13a49135b7b6752/function.php
    Thanks for everything

    https://staging-psicologodrgiampaolofalasca.kinsta.cloud/
    October 21, 2019 at 8:59 pm #494160
    AnitaC
    Keymaster

    Try this one. You can find other snippets here.


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

    October 22, 2019 at 10:07 am #494170
    giampaolofalasca
    Participant

    Thanks Anita,
    I tried the code shown here:

    Modify the Comments Link Text


    but it did not work
    What could I do?

    October 28, 2019 at 1:28 am #494277
    Brad Dalton
    Participant

    Do you mean the Leave a Comment text link in the post info ( entry header ) ?

    If so, you would need to :

    1. Use the genesis_post_comments_shortcode filter

    Or

    2. Use the shortcode parameters for the [post_comments] shortcode with the genesis_post_info filter function.


    Tutorials for StudioPress Themes.

    October 28, 2019 at 9:31 am #494279
    giampaolofalasca
    Participant

    Thanks @braddalton for the answer.
    I solved the problem by inserting the above code instead of a custom plugin directly into the functions.php file of my theme and the problem seems to be solved.
    Thank you again.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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

© 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