Change "Leave a comment" text

Community Forums Forums General Discussion Change "Leave a comment" text

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Draceadan 5 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #107117

    Draceadan
    Member
    Post count: 20

    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
    #107123

    nutsandbolts
    Keymaster
    Post count: 3187

    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, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #107607

    Draceadan
    Member
    Post count: 20

    I used Genesis Translate.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Change "Leave a comment" text’ is closed to new replies.