WordPress.org

Ready to get started?Download WordPress

Forums

AlbinoMouse
[resolved] How to change 'Leave a Comment' or 'Reply' (5 posts)

  1. katieprops
    Member
    Posted 1 year ago #

    Truly am enjoying your AlbinoMouse theme.

    Question: Where in the comment.php file do I locate where to change the text for comment forms from "Leave a Comment" and "Reply" ?

    I can't see it anywhere. Thank you.

  2. pixelstrolch
    Member
    Theme Author

    Posted 1 year ago #

    Hi katieprops

    Glad you like it.
    The text strings you mentioned are default by WordPress. I didn't customize. You could do the following:

    Open comments.php and change line no 53 to
    wp_list_comments( array( 'reply_text' => 'YOUR TEXT FOR REPLY BUTTON', 'callback' => 'albinomouse_comment' ) );

    and change line no 74 to
    <?php comment_form( array( 'title_reply' => 'YOUR TITLE TEXT' ) ); ?>

    You'll find more informations here:
    http://codex.wordpress.org/Function_Reference/comment_form
    http://codex.wordpress.org/Function_Reference/wp_list_comments

    Warning!
    If you customize any of the original files, it can be overwritten during a theme update. I recommend you to backup your changes or create a Child Theme.

    Cheers Stefan

  3. katieprops
    Member
    Posted 1 year ago #

    Thank you for a prompt response, and perfect instructions! - Katie

  4. 13mhz
    Member
    Posted 1 year ago #

    Great theme, thanks!
    I just made polish translation:
    http://kapa.pl/pliki/Albionmouse-pl_PL.zip

  5. 13mhz
    Member
    Posted 1 year ago #

    and sorry for typo in archive name ;)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic