I’m trying to manually insert the following WPML code into the header inside .header-right classed div:
do_action(‘icl_language_selector’)
Now, when I override some of the sf_header’s code in functions.php I can get the language selector to appear on the website, but for some reason the language selector’s code is printed outside the #header-sticky-wrapped div even if I put the WPML’s php code inside the .header-right div.
So basically the WPML’s code does not print where I want it to print. Any ideas why this happens?
Attached is a screen cap of where I put the additional code and where it should be printed.