Referring to the link here:
Can this be done on a bilingual site?
Here is what I’ve added to functions.php in my child theme:
//--------------------------------
// English Header widget area
//--------------------------------
add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' );
function enfold_customization_header_widget_area() {
dynamic_sidebar( 'header' );
}
How can I make a Spanish version on the same site? We use WPML.
Thank you.
Hey NCATIT,
You should be able to get the current language using code like this, then you can create a conditional statement based on that: https://wpml.org/wpml-hook/wpml_current_language/
Best regards,
Rikard
Worked a treat, thank you!
Hi NCATIT,
I’m glad that Rikard could help you :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko