Polylang Plugin for Breakdance

Polylang4Breakdance is a little plugin that adds a new element and a new condition to make life easier when using Polylang with Breakdance.

Feel free to use it at your own risk.


The Element

It just works like the Language Switcher that Polylang adds in the Menu page.
Except that this time, we can add the language links anywhere in the page, and style them directly in Breakdance:

polylang element design options

The Condition

The condition lets you show or hide any element, section or template, for each language.
It's a great use when you want to have a different header for each language.

Note that it's the same condition as this snippet here : Polylang condition (so you don't have to manually add it, as it's now included in the plugin).