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.
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
Mike,
BIG THANKS, that worked well!
Kind regards
Jan M
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
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