Quem
Portfolio
Leia
Contato

Conditions for Translatepress in Oxygen

To hide or show an Oxygen element based on the language (using Translatepress) you need to set a simple PHP Return Function. This tip is from the Facebook group: https://www.facebook.com/groups/wpdevdesign/permalink/3188494754586784/

And here is the function:

conditions > dynamic data > php function return value > get_locale > "de_DE", "en_GB" , ...

Manuel Mochkal

Subscribe
Notify of
guest
0 Comentários
Inline Feedbacks
View all comments
homeenvelopeuserphone-handsetlaptop-phonetext-align-center
pt_BR
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram