mardi 26 janvier 2016

How to load a different header.php depending on Multilanguage plugin's selected language?

I am currently testing my WordPress site on localhost. I have managed to use Multilanguage plugin to change all of pages' content. But since my main content is in the editor and my menu is in header.php I am unable to do the same for my menu. Which raises a question - how to load a different header.php, translated to another language, depending on the selected language? Or is it better to have my menu included in the editor as well, so I can change it the same way I change my main content? Wouldn't that be inefficient since all of my pages use the same header?

Any help would be appreciated.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire