[Plugin: Polylang] Translation with Evolution (from Elegantthemes)
-
I’m using Polylang with Evolution themes (https://www.elegantthemes.com/gallery/evolution/). The plugin is very good indeed, really easy to use. Though I still have to ask for support about its front page. Evolution has two string which user can define in its panel: the big quote text and the description text under ‘Recent Work’. The theme stores these string in wordpress option table and displays it like this: `
echo get_option('evolution_homework_desc');
I managed to translate this by using pll_register_string() on the file home.php but it didn’t work:
$homework_desc = get_option('evolution_homework_desc');
pll_register_string('homework_desc', $homework_desc);
echo pll__($homework_desc);Just don’t know why it doesn’t work. :sighed:
- The topic ‘[Plugin: Polylang] Translation with Evolution (from Elegantthemes)’ is closed to new replies.