• Resolved JordiRC

    (@jordirc)


    Hi George!

    I have added the following code to be able to translate the text. I am using the WPML plugin and I translate it perfectly.

    Line 39 of readmoreoptions.php:

    $new_string = '<span><a onclick="read_toggle(' . $rnum . ', \'' . __(get_option('rm_text'),'mytextdomain') . '\', \'' . __(get_option('rl_text'),'mytextdomain') . '\'); return false;" class="read-link" id="readlink' . $rnum . '" style="readlink" href="#">' . __(get_option('rm_text'),'mytextdomain') . '</a></span>' . "\n";

    Regards!!

    • This topic was modified 5 years, 7 months ago by JordiRC.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translate text’ is closed to new replies.