Tagged: read more
Hi at Kriesi,
I have tried several ways described in the forum, but nothing helped.
– How can I change the text of the “Read more” Link in german languge “Weiterlesen” under blog excerpts? I am using the Post-Slider.
– How can I change the german word “Schlagworte” (tags)?
Is it both possible without using “localization” plug-in?
Best Regards
Sigmund
Hey Sigmund,
Maybe one of these could help you out? https://wordpress.org/plugins/loco-translate/
https://poedit.net/wordpress
Best regards,
Rikard
Hi Rikard,
I have tried it with WMPL string translation but did not find the word “Schlagworte”.
Any other idea? Is it coded in the po/mo or can I edit it via functions.php or loop-index.php?
Best Regards
Sigmund
Hi,
Both “Weiterlesen” and “Schlagworte” are listed in enfold/lang/de_DE.po
and you should be able to edit it with a plain text editor such as Sublime or Notepad++
then upload with FTP. I suggest you save a copy of de_DE.po before you edit it, just in case.
Another option for the read more text: Try adding this code to the end of your functions.php file in Appearance > Editor:
function modify_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '">Your Read More Link Text</a>';
}
add_filter( 'the_content_more_link', 'modify_read_more_link' );
Best regards,
Mike
Hi,
the functions.php code did not work. But the tip with the de_DE.po works after I converted it into a de_DE.mo file and uploaded it. Thanks!
Best Regards
Hi,
Happy we can help you out.
Please feel free to create a new topic if you need anything else from us.
Thank you very much
Best regards,
Basilis