Description
This Plugin is an experiment, I needed to let users pick colors for entries intended to be displayed in a Calendar View. I discovered a workaround on the Formidable Web Site that was a few years old, so I decided to grab the current version of jscolor and put it in a plugin for easier deployment.
Along the way I discovered a few other color picker libraries for jQuery, so when I get around to it I’ll add them to the plugin to give users some different display options.
Please Note: This plugin requires the Formidable Pro Plugin (https://formidablepro.com/) by Strategy11 to be installed and activated before installation. Formidable Pro is an awesome plugin.
Captures d’écran
Installation
- Upload
formidable-color-picker.zip
to the/wp-content/plugins/
directory and unzip it there, or use the WordPress Dashboard to install it. - Activate the plugin through the ‘Plugins’ menu in WordPress
- Create your forms as usual and use the Color Picker Field type in the Advanced Fields section to add Color Picker Fields
FAQ
- Why would I want a color picker?
-
You may wish to give users the option of selecting colors. For instance, when creating a recurring entry in a calendar, you might want the user to be able to select a color for their entry so it’s easy to see among others.
Any time you want users to be able to select colors for elements, use a color picker field, and then insert the value of that field as a style attribute or an inline style in a view. You could even create a view that’s nothing but a style sheet with dynamic values from your form. The possibilities are endless, really.
- Why is this so simple?
-
It fixes a simple problem.
- Can I have more than one Color Picker Field in a Form?
-
You can.
- What about more display options?
-
Those will come later.
Avis
Contributeurs/contributrices & développeurs/développeuses
« Formidable Pro Color Picker » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Formidable Pro Color Picker » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
0.1
- First released Aug 03 2014.