Advanced Custom Fields: Restrict Color Picker Options
Restrict Advanced Custom Fields color picker to a specific subset of colors. Removes color wheel from the field UI so user can't pick other color …
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 1435 days ago • 7 reviews
Is Advanced Custom Fields: Restrict Color Picker Options abandoned?
Possibly abandoned (last update 1435 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Restrict Advanced Custom Fields color picker field to a specific subset of custom colors. Removes the color wheel and slider from the field UI so the user can’t pick any other colors
Features
Include the color palette from the current theme by enabling the option on the plugin settings page.
Get the current color options palette in your template code with the acfrcpo_get_color_options function.
Installation
- Upload
acf-restrict-color-pickerto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Frequently Asked Questions
Leave your question in the support tab and we’ll respond!
Review feed
Awesome Addon for ACF
Changelog
1.3.1
- Bug fix: Adds check for false return from get_theme_support (Thanks @faketib0 and Dan Mensinger!)
1.3
- Adds option to include the current theme’s colors. Thank you to @mrwweb for this idea!
- Adds acfrcpo_get_color_options function to get the current color palette. Thank you to @badjesus for the feature request!
1.2.1
- Fixes $l10n parameter syntax in wp_localize_script.
1.2
- Finally fixes long standing issue with multiple instances of color pickers.
1.1
- Change the plugin name to better match similar plugins in the ACF world.
1.0
- First version of the plugin

