Site logo

Archived topic

How do i change the text after the comment bubble?

4 replies · Started by Gustav on February 7, 2016

Viewing posts 1–5 of 5

Hello everyone!

How can i change the text belonging to the comment bubble in my posts?
And is it possible to change the position of the comment link from the bottom of the post to the top?

/ Gustav

Hi Tom!!
my website is in Hebrew and the comments area is in English
is there any other way to change the text to Hebrew? my knowledge in code is very basic.
i want to change this text :
"Leave a Comment"
"post comment"

thank you
simcha

Hi there,

You would need to use the filters as Tom suggested above:

add_filter( 'generate_leave_comment','generate_leave_comment_text' );
function generate_leave_comment_text()
{
    return 'Hebrew leave comment text here';
}

add_filter( 'generate_post_comment','generate_post_comment_text' );
function generate_post_comment_text()
{
    return 'Hebrew post comment text here';
}

Adding php: https://docs.generatepress.com/article/adding-php/

Let me know.

This archived topic is closed to new replies.