Support » Themes and Templates » Changing "Leave a Reply" on comments form

  • Resolved Claudia

    (@twiggs)


    I am using My White Theme on a blog that I’m designing, and I want to change Leave a Reply to something else in portuguese, but I don’t know where to change it on the php files.

    Does someone know something to help me? Thank you!

    The php code on Comments is the following:

    [code moderated - please follow the forum rules for posting ocde]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Claudia

    (@twiggs)

    Thank you, but this does not solve my question, as I cannot find that line of code in order to change it, I had tried that before as well…

    My theme does not have this: <?php comment_form(); ?>

    So I need another solution…

    If anyone has something to suggest, be my guest!

    comment_form($args);

    this…is that

    its at the bottom of your comments.php

    you can work withing the $args array that already exists in that theme, directly above the bit of code I just posted

    Thread Starter Claudia

    (@twiggs)

    sorry, but i’m a newbie on php… can someone be a little bit more explicit?

    i have this code on comments.php:

    ‘$args = array(
    ‘comment_field’ => ‘<p class=”comment-form-comment”>Comment
    <textarea id=”comment” name=”comment” cols=”45″ rows=”8″ aria-required=”true”></textarea></p>’,
    ‘comment_notes_after’ =>'<p class=”comment-field”>’.$format.'</p>’
    );
    comment_form($args);’

    where do i need to write to change Leave a Reply for something like “Don’t be shy, leave your comment!”?

    Thank you!

    $args = array(
    	'comment_field' => '<p class="comment-form-comment">Comment<br /><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
    
    	'comment_notes_after' =>'<p class="comment-field">'.$format.'</p>',
    
             'title_reply'=>'Comments Make Me Happy'
    					);
    	comment_form($args);

    something like that should work

    Thread Starter Claudia

    (@twiggs)

    Perfect! Thank you!!!

    Sure, I’m glad that worked out for you!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changing "Leave a Reply" on comments form’ is closed to new replies.