• Resolved Cogdiss

    (@cogdiss)


    Hi there,

    I am using Polylang on a site at the moment, and in addition to creating new pages for each language I also want to edit some content templates to show/hide content based on the language selected.

    The easiest way to do this would be if Polylang added a body class to the site which reflected the language selected by the user, but I can’t see that it does – is there any way I can implement something like this?

    Thanks

    Hannah

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

The topic ‘Add body class when language selected’ is closed to new replies.