Polylang and Tagline Enfold Theme
-
Hi Guys,
It’s the first time I use your plugin but I really love it! Very well done! You guys rock!
By the way I’ve a problem with translating my tagline in enfold theme.
By default the theme doesn’t show any tagline. The enfold team gave me a php code that show it :
add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "<strong class='logo-title'>Company Name";
$sub .= "<strong class='logo-title logo-subtitle'>Additional Text Here";
return $sub;
}As the theme is made for WPML and as the team doesn’t know your plugin, I want to know if you can help me fix my prob?
The enfold team gave me a php that would work for WPML:
if(ICL_LANGUAGE_CODE == ‘code’){}
else {}
I’ve try to replace “ICL_LANGUAGE_CODE” by “pll_the_languages” and ‘code’ by ‘en’ but he doesn’t work. I just have the else action.
Thanks for your help
- The topic ‘Polylang and Tagline Enfold Theme’ is closed to new replies.