This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Change text on "View Post" link

#840
tox
Member

Hello Jason,

thank you for your fast reply and the suggestions. I have tried both methods and they work splendidly. But they also somehow overwrite the string translations that I have made with WPML. I did not tell you that I am building a multilingual site. Is there a way to put in some extra lines of code to make the Swedish version “Läs Mer” and the German version “Weiterlesen”? Now the code looks like this:

function my_locals( $locals ) {
$locals[‘read_more’] = ‘Read More’;
return $locals;
}
add_filter( ‘themeblvd_frontend_locals’, ‘my_locals’ );

And “Read More” is what I get in all three languages..

Kind regards,

Torkel