• Resolved joanamatr

    (@joanamatr)


    Hello,

    I would appreciate it if you could help me change the text of the product badge (hot-badge).
    Now, it’s showing “Hot” and I’d like to show “Best” insted.
    I’m using the Kona theme.

    Cheers,

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • That looks like a theme feature. If so, you may find a setting for it in theme options. If not, put in a ticket to your theme vendor’s support service.

    Otherwise, you could try Say What? which is good for changing text oddments.
    https://www.ads-software.com/plugins/say-what/
    In the settings for text changes, use kona as the domain and leave the context field blank.

    Thread Starter joanamatr

    (@joanamatr)

    Thanks Lorro, I’ll try your solution.

    DO you know a way to do that without plugins?

    You can try:

    <?php
    add_filter( 'gettext', 'translate_text' );
    add_filter( 'ngettext', 'translate_text' );
    function translate_text( $translated ) {
      $translated = str_replace( 'Hot', 'Best', $translated );
      return $translated;
    }

    but I don’t have access to your theme so I can’t test it.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Kind regards,

    hello Con,

    Is this topic still open ?

    I would like to change the text mention above. Can you guide me were should it copy/paste the code?

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change “Hot” badge text’ is closed to new replies.