I'm using ACF Pro. I have created custom field called "Items", it is a checkbox field. Inside that i have four checkbox items "First, second, third and fourth"
Now, i need to print out all checkbox values and assign a class only to checked items.
So, if i check "First" then it will get a class, others are not getting anything, but are still printed out in a list.
With ACF instructions i can print out only one, checked item, but i need to have all items printed out all the time. All checked items will get a custom class to mark it checked.
ACF manual is here: http://ift.tt/1Mvpkb5
Is it possible to achieve?
Aucun commentaire:
Enregistrer un commentaire