Polylang4Breakdance is a little plugin that adds three new features to make life easier when using Polylang with Breakdance:
Feel free to use it at your own risk.
polylang4breakdance-v2.1.0.zip
Latest update: Aug 24, 2024
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:
It's a 'sub' element, that is only available for the Menu Builder. It works like the other dropdowns, it will inherit the global styles from the menu builder, but you can also customize it independently.
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).