• Hey, I’ve found an error in the documentation:

    [switch taxonomy=tax_name]

    works when set

    [switch taxonomy tax_name]

Viewing 1 replies (of 1 total)
  • Thread Starter signale

    (@signale)

    I found the solution and it’s not actually an error, it’s the term usage which I missed

    So the code is

    
    [switch taxonomy=language]
    [when term=en]English Language Page[/when]
    [when term=de]DeutschLanguage Page[/when]
    [/switch]

    It’s a Polylang usage, the only template I didn’t figure how to identify the language now is 404 page

Viewing 1 replies (of 1 total)

The topic ‘Error in the Documentation’ is closed to new replies.