• Hi, I would like that when creating a new event, I have the possibility of entering two descriptions: one in English and one in Italian (we can do this easily). The thing I can’t do, however, is to give a display condition in the language switch of the site. I am using Polylang. Is it possible to give a display condition to the templates based on the language?

    • This topic was modified 1 month, 1 week ago by federicorosa.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    If you’re using the PHP templates, then it should be possible to do that using standard Polylang language functions, e.g. pll_current_language().

    PHP templates were only added in version 3.5, and aren’t enabled by default, but I strongly recommend using them if you can.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.