Support › Meta Box Builder › How to add icons to checkboxes?
I made a long checkbox_list with the Meta Box Builder plugin. Is there a possibility to add a different icon in front of each checkbox or instead of the label of the cb?
I think the only way to do that is using custom CSS, something like this:
By default, the plugin outputs the checkbox only and CSS is the only way I think can resolve this.
Edit: Sorry, I was thinking about normal checkbox fields built without the Builder. I think the Builder don't have such feature.
CSS does not work. The code seems to be OK but will not be rendered in the backend. So I set it within the label field of the Buider and it worked. Not really professional, isn't it?
That also works :). Remember to strip_tags on the frontend when you retrieve the meta value 🙂