Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1030035

    Hi,
    I cannot translate text label “Read more” on buttons on Blog posts on my home page. A have tried to do this changes in described in this topic, but no success.
    https://kriesi.at/support/topic/change-text-in-read-more-link/

    Can you please advice me, how and where to change those labels and text from English to another language?
    BIG THANKS.
    Best regards
    Jan


    Also want to translate the text ” You might also like” in single post page.

    • This topic was modified 6 years, 1 month ago by JanMiHero.
    #1031090

    Hey JanMiHero,
    Sorry for the late reply, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_translate_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $(".read-more-link a.more-link").text("Přečtěte si více");
      $(".related_posts h5.related_title").text("Mohlo by se vám líbit");   
      });
      })(jQuery);
    </script>
      <?php
      }
    add_action('wp_footer', 'custom_translate_script');

    Best regards,
    Mike

    #1031246

    Mike,

    BIG THANKS, that worked well!

    Kind regards
    Jan M

    #1031250

    Hi,
    Glad we were able to help, shall we close this then?

    Best regards,
    Mike

    #1031258

    Yes Mike,

    lets close this topic. Should I do it (please tell me how, I am a newby here), or close it by yourself.
    Thanks again
    Jan

    #1031280

    Hi,
    Thanks, we close the topics, but I like to confirm before I do :)
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Cannot translate text label "Read more" on buttons on Blog posts’ is closed to new replies.