wpColorPicker() vs iris()?
-
I’m trying to use the color picker in an admin menu. I tried the method described here:
But it doesn’t seem to be doing anything at all.
Then I tried the method described here for WP 3.6: https://www.paulund.co.uk/adding-a-new-color-picker-with-wordpress-3-5
And no luck there either.
In the first method, the javascript file looks like this:
jQuery(document).ready(function($){ $('.my-color-field').wpColorPicker(); });
On the other site, that says it is for WP 3.6, it looks like this:
$('.color-picker').iris();
Does it matter if it is calling wpColorPicket() vs iris()?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wpColorPicker() vs iris()?’ is closed to new replies.