Plugin Author
TC.K
(@wp_dummy)
What do you mean “ display checkboxes items into a dropdown list“?
Is it a checkbox input or dropdown input? Any particular reference for this?
Hi Ron,
Sorry if I’m not very clear. Maybe, it’s due to my bad english 😉
I was wondering how to display checkboxes within HTML dropdown ( http://i.stack.imgur.com/vE1eL.png ) (or an another solution to have a multiple choice possibility in a dropdown list).
Thanks for your help.
Wip
Plugin Author
TC.K
(@wp_dummy)
Well,
For ‘multiple choice possibility in a dropdown list’ – No.
But as for the type that showed in the image, yes.
Here is how you can do it :
1. View the html source code for the form (if you using Firefox – by right- click->view selected source; for chrome, using inspect element ).
2. Find the checkbox class that you want to customize. eg cmfcheck-0,cmfcheck-1 for meta field check box or taxocheck-0. taxocheck-1 for taxonomy;
3. use the class in your theme css or the plugin css to customize the layout of the checkbox. eg
.cmfcheck-0{height:100px;overflow-y:scroll;width:100px;border:1 black solid}
That’s it.
Note this class only added in version 1.0.4, so version prior of this might be not working with this technique. Make sure you installed v 1.0.4