Releases: newcity/acf-icon-picker
v2.1.2
What's Changed
- Formatting options by @wonkeythemonkey in #10
- Fix an error when no icon selected by @wonkeythemonkey in #11
Full Changelog: v2.1.1...v2.1.2
v2.1.1 - Bugfix
v2.1.0 - Formatting Options
Added nc_acf_icon_picker_format_type
filter. For details, see the ReadMe under "Filters > Setting the Output Format"
v2.0.1 - Deprecation Notice
Changes
- Added a deprecation notice for the old
acf_icon_path_suffix
filter hook. This hook was already deprecated, but the change was not documented and no warning was provided. Please update all references fromacf_icon_path_suffix
tonc_acf_icon_path_suffix
. - When using the
nc_acf_icon_path_suffix
ornc_acf_icon_parent_path_suffix
filters, the returned value will now work whether or not you include a slash at the end. Previously, the icons would fail to load if the suffix ended in a slash.
Version 2.0.0
Version 2.0.0: Major update, possible breaking changes
Check the following for your site before updating.
-
Changed the field type name from
icon-picker
tonc-acf-icon-picker
and updated its label from "Icon Picker" to "NC Icon Picker". Anywhere that you have set up an icon picker field using this plugin, you must change the field'stype
value tonc-acf-icon-picker
. If a field group is stored in code as JSON or PHP, you can make this change by changing thetype
value directly. If you are managing the field group directly within the ACF settings in WordPress, you will need to change the type to "NC Icon Picker". -
Changed the default path to icon files to
images/svg-icons/
. If you were using the old version of the plugin without modifying the path, you need to use thenc_acf_icon_path_suffix
hook in your theme to change the path back to its old value (assets/img/acf/
) -
Introduced parent/child theme support. Consult the "Parent / Child Theme Icons" section of this ReadMe for details on how to use this new feature.