Tag: Condition

Adding a ‘Month’ Condition

This snippet will add a new Month condition, in the Date & Time section: add_action("breakdance_register_template_types_and_conditions", function () { \Breakdance\ConditionsAPI\register([ "supports" => ["element_display", "templating"], "slug" => "bd-month-condition", // MUST BE UNIQUE [...]
Read more

Polylang condition in Breakdance

The original idea is from Alexander Buzmakov, with his version for Oxygen.Here is now a version for Breakdance. This snippet will add a new condition, called Locale: And then you [...]
Read more