• Resolved marino95

    (@marino95)


    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]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,

    Thanks for reaching out to us!

    Unfortunately this is not currently doable with our plugin.
    Your best approach would be to use our integration with Elementor, Oxygen or WPBakery to restrict the content based on language.

    Thank you for your patience so far!

    Best Regards

    Plugin Support Alex

    (@alexcozmoslabs)

    Since it’s has been more than 5 days since you received instructions about the opened topic, and you did not return with an update, we will mark this ticket as successfully resolved.
    If you have other questions regarding TranslatePress, we recommend you create another ticket.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Conditional shortcode’ is closed to new replies.