• Resolved immaterial

    (@immaterial)


    Is there a possibility to edit/customize the text of the ?Comments link“ block?

    For example: if instead of ?no comments“ i’d prefer ?zero reactions“ (or: ?0 answers“), what would I have to do?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator jordesign

    (@jordesign)

    Hi @immaterial – as far as I know there’s not currently a way to do that. One thing I’d suggest is opening up a Feature Request for Gutenberg (which is the Editor used in WordPress) to make that text editable.

    https://github.com/WordPress/gutenberg/issues/new?assignees=&labels=&projects=&template=Feature_request.md

    Thread Starter immaterial

    (@immaterial)

    Thank you.

    You could use the Say What plugin to change the text strings of the comments link block.

    With the plugin active, go to Tools > Text Changes > Add New

    These are the 3 text strings you would need to add.

    #1

    Original string:

    No comments<span class="screen-reader-text"> on %s</span>

    Replacement string:

    Zero reactions<span class="screen-reader-text"> on %s</span>

    #2

    Original string:

    %1$s comment<span class="screen-reader-text"> on %2$s</span>

    Replacement string:

    %1$s reaction<span class="screen-reader-text"> on %2$s</span>

    #3

    Original string:

    %1$s comments<span class="screen-reader-text"> on %2$s</span>

    Replacement string:

    %1$s reactions<span class="screen-reader-text"> on %2$s</span>

    Leave ‘Text domain’ and ‘Text content’ fields empty for all 3 of the text changes.

    Thread Starter immaterial

    (@immaterial)

    Merci. It worked!

    Merci. It worked!

    Cool! I will mark this thread as resolved ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comments link block: Text customization’ is closed to new replies.