• 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

Change "Leave a comment" text

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 › Change "Leave a comment" text

This topic is: resolved

Tagged: Info Article, leave a comment

  • This topic has 2 replies, 2 voices, and was last updated 11 years ago by Draceadan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 28, 2014 at 9:31 am #107117
    Draceadan
    Member

    I want to change the "Leave a comment" and "X comments" texts.

    I really don't know how to do it, I assume that I need a piece of coding in Function.php.
    I change the word "By" with "De" by introducing the following code in the Functions.Php
    ---------------------------------------------------------------------------------------------------------------------
    //* Customize the post info function

    add_filter( 'genesis_post_info', 'sp_post_info_filter' );

    function sp_post_info_filter($post_info) {

    if ( !is_page() ) {

    $post_info = '[post_date] de [post_author_posts_link] [post_comments] [post_edit]';

    return $post_info;

    }}
    --------------------------------------------------------------------------------------------------------------------------------
    Anyone?

    See foto: http://i1071.photobucket.com/albums/u502/Ethinkro/cur_zps11279470.png

    PS: the articles on the home page are on some widgets from the Blognews theme. It is possible that modifying the functions.php will not modify the articles appearance on this page, So, I would need, somehow, to modify the aspects of these article in some way.

    http://ethink.ro
    May 28, 2014 at 11:03 am #107123
    nutsandbolts
    Member

    Here is an article with snippets that will help you customize comments: http://www.bourncreative.com/customizing-genesis-2-0-html5-comment-form/


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

    May 31, 2014 at 4:27 am #107607
    Draceadan
    Member

    I used Genesis Translate.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change "Leave a comment" text’ 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

© 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