Conditional shortcode
-
Hello, i need a help.
Currently i’m translating the whole website in different languages, the principal is en_US and i’m translating in IT, ES, NO, FI etc.
The question is -> i have the blog post created in english and i would to use the conditional shortcode to substitute only the article in italian.
E.g.
( This is a article blog that is english and i’ll translate in ES – NO – FI )
——-
( Questo è un articolo in italiano ed è scritto diversamente
This is an article in italian and it will be wrote in different way )There is a way with conditional shortcode that i can create a different e.g.
[trp_language { not equal } language=”it_IT”]
This is a article blog that is english and i’ll translate in ES – NO – FI )
[/trp_language]
——-
[trp_language { only } language=”it_IT”]
( Questo è un articolo in italiano ed è scritto diversamente
This is an article in italian and it will be wrote in different way )[/trp_language]
The topic ‘Conditional shortcode’ is closed to new replies.