Plugin Author
TC.K
(@wp_dummy)
It is rather complicated. But you can try using css to change the respective checkbox to display the backgroud image.
You can use inspect element feature of your browser (chrome or firefox or opera)to find the element where you want to change. Of course you will need some css3 skill though.
By defining colors by css it will not be dynamic because i need red text with red background checkbox, black with black and if i change text name red to blue then it should be dynamically change in checkbox to Blue
how it can be done by CSS
Thank You all for your help in advance
Plugin Author
TC.K
(@wp_dummy)
Well, what you want is dynamic changing the color, and this is way more complicated. It can’t be done by only CSS, this involved javascript.
It is hard to explain it here.
Ya I know about that its impossible by css only so i want to need help for that portion
Can You Post Javascript code sample here so that I can Look Forward about that Portion
Thank You Help In Advance
One More Question can i make this plugins for search in custom fields for colors by making checkbox for colors
Thank You
Waiting Your Response
For Now I try to make Static Color checkbox. But i just want to know it is possible to make static color as checkbox and search in color custom fields.
Thanks a lot In advance
Plugin Author
TC.K
(@wp_dummy)
Ya I know about that its impossible by css only so i want to need help for that portion
Using jquery, get the selector of each of the checkbox with the color. Then applied the color on the checkbox wrapper.
One More Question can i make this plugins for search in custom fields for colors by making checkbox for colors
Yes, but still not dynamic though.
For Now I try to make Static Color checkbox. But i just want to know it is possible to make static color as checkbox and search in color custom fields.
Still, need customization.
Actually if you look at the source code you can see there is filters for user to customize every display type html.
So if you want to change taxonomy checkbox, you can look for uwpqsf_tax_field_checkbox
and refer to the source code to customize them.