Question: I would like to know the php code to insert language switcher in specific place in the header.

Answer:

  • If you are using free version WPGlobus, then please read here
  • If you are using module `Publish` from WPGlobus Plus and you want to prevent output of language item that has `draft` status, then you can use alternate code