• 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

Metro Pro – change Leave a Reply

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 › Metro Pro – change Leave a Reply

This topic is: not resolved
  • This topic has 2 replies, 3 voices, and was last updated 12 years, 1 month ago by CWietscher.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 13, 2014 at 10:14 pm #90207
    cotaylo
    Member

    Hi. I've read all of the post here that I think relate to this but I'm still having trouble.

    I just want to change the comment title from "Leave a Reply" to something else.

    I tried this:
    http://my.studiopress.com/snippets/comments/

    //* Modify comments title text in comments
    add_filter( 'genesis_title_comments', 'sp_genesis_title_comments' );
    function sp_genesis_title_comments() {
    $title = '<h3>Discussion</h3>';
    return $title;
    }

    but it still says, "leave a Reply"

    Can anyone help me figure out what I'm leaving out/doing wrong?
    http://www.bbqonthemenu.com

    thanks a ton!

    February 13, 2014 at 11:02 pm #90215
    nutsandbolts
    Member

    I think that snippet may be for older XHTML child themes. Try this one:

    //* Customize the comment form
    add_filter( 'comment_form_defaults', 'nabm_custom_comment_form' );
    function nabm_custom_comment_form($fields) {
    	$fields['comment_notes_before'] = ''; //Removes Email Privacy Notice
            $fields['title_reply'] = __( 'Join the Discussion', 'nabm' ); //Changes The Form Headline
    	$fields['label_submit'] = __( 'Submit Comment', 'nabm' ); //Changes The Submit Button Text
    	$fields['comment_notes_after'] = ''; //Removes Form Allowed Tags Box
        return $fields;
    }

    You can take out any line you don't need/want to change, or just leave them all. Hope that helps!


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    May 12, 2014 at 9:29 am #104661
    CWietscher
    Member

    Hi,

    thanks for the snippet - it works well.

    Now my comment form, the headline, has a <h3>-tag. How can I change it into a <h4-tag>?

    Thanks,
    Christine

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