reyhoun / acf-rgba-color Goto Github PK
View Code? Open in Web Editor NEWAdvanced Custom Field: RGBA Color Picker
Advanced Custom Field: RGBA Color Picker
This plugin was working with ACF 5.3.7, then I made the mistake of updating to ACF 5.3.8. This plugin is now broken. Can not pick a color or even save a manually entered rgba value.
When I try to activate the plugin, the panel returns the following and the panel gets all messy ๐
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'register_fields_rgba_color' not found or invalid function name in C:\wamp\www\barcompany\wp-includes\plugin.php on line 496
Hey,
Get js error after Wordpress was updated to 5.5
Uncaught ReferenceError: wpColorPickerL10n is not defined
and I found fix for it here
if( is_admin() ){
add_action( 'wp_default_scripts', 'wp_default_custom_scripts' );
function wp_default_custom_scripts( $scripts ){
$scripts->add( 'wp-color-picker', "/wp-admin/js/color-picker-alpha.min.js", array( 'iris' ), false, 1 );
did_action( 'init' ) && $scripts->localize(
'wp-color-picker',
'wpColorPickerL10n',
array(
'clear' => __( 'Clear' ),
'clearAriaLabel' => __( 'Clear color' ),
'defaultString' => __( 'Default' ),
'defaultAriaLabel' => __( 'Select default color' ),
'pick' => __( 'Select Color' ),
'defaultLabel' => __( 'Color value' ),
)
);
}
}
better style for rgba inspector in user section
This plugin doesn't save the values properly. If you select a color, then move away from the admin, then come back to it it doesn't show the saved value.
Any ideas why?
hi there, i am using it with flexible content, when i save it shows the value, then when i reopen all i get is
RGBA(,,,R) on every feild
Hi,
Maybe I'm missing some setting somewhere but I'm having trouble inputting and saving colour values (Safari 8.0.2).
Everything works fine creating and displaying the reba field but there are a few issues based on my field settings:
FYI, this doesn't work inside a repeater field. All color pickers on the page edit the first field's value rather than the value of the field being edited.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.