Jump to content
  • Similar Content

    • mrhinsh
      By mrhinsh+
    • John Olsson
      By John Olsson+
      What's the best way to have multilingual in pl5, any plugin that stands out from the rest and is logical for the pl5-workflow?
    • dbarrera
      By dbarrera
      Website URL: barreralawfirm.com/beta/
      Framework Version: Just updated today. 
      WordPress Version: Most recent
      Plugins in Use: WPML,  Formcraft, Jetpack, SEO Ultimate
      Server/Host: Siteground
      Screenshots:
      Details: Below
       
      I am currently developing a website with both English and Spanish text. Dependent on the language selected via the fixed nav, the site will pull different code/text. Is there a way to run php in a textbox within the header or global scope? There is one section that needs to conform to that. I have checked the string translations and it isn't showing up to be manageable through that. I have also tried a <?php if(ICL_LANGUAGE_CODE=='en'): ?> statement to get it to switch manually but the code won't run.
       
      Is there a better way to get this content to translate when on a different language?
       
      Any help would be greatly appreciated.
       
       
×