• Resolved Cezar Ayran

    (@ayrancd)


    How do I remove the “Edit” link on a comment user posted? So they can’t change their comments once it is submitted in the post.

    And also how to rename to word “Reply”. Thank you!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • threadi

    (@threadi)

    The answer to this question depends heavily on the theme you are using. With modern FSE themes, the two links mentioned can be edited via the editor in the backend. With classic themes, they can be found in the templates. Which theme are you using?

    Moderator bcworkz

    (@bcworkz)

    If those labels are part of the default translation system, we can use the “gettext” filter to “translate” as desired, even if it’s the same language but different words. From your description, it could be these labels are part of the core WP wp_list_comments() function, in which case the “gettext” filter will certainly be a viable solution.

    In the case of complete removal, removing the edit link does not invalidate the link’s destination form. I suggest simply hiding it with CSS. If you need to also invalidate the destination form, I recommend removing the ‘edit_comment’ capability from applicable roles.

    Thread Starter Cezar Ayran

    (@ayrancd)

    Tks y’all. That seems to be a theme thing and no they can’t be translated by using gettext, I’ve reached out to the Avada theme.

    Moderator bcworkz

    (@bcworkz)

    If all else fails you could alter the labels with JavaScript. Not a great solution because users could briefly see the unwanted labels before script has had a chance to change them. Then there are those few users who have disabled their browser’s JavaScript. Hopefully Avada support can provide a better option.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Edit link from comment and rename the word Reply’ is closed to new replies.