Since version 3.3, it is now possible to turn any custom fields “select” into a Select2 Dropdown. This is particularly useful for dropdowns with lots of items.
Enable it for custom fields
It couldn’t be easier to enable Select2 for your custom fields. Simply add the argument select2 => true
to any custom field (which type is select
or taxonomy
).
Enable it for “core” dropdowns (ie Products, Department)
To enable select2 for the products dropdown, we prepare a code snippet for you that uses the built-in filters: