Wrap all fields in a div
-
Hello and thank you for this marvelous plug-in!
I need to make a small modification to how the fields are displayed. I see that each custom field is contained within a table. With your documents I’ve learned how to manipulate how each table is rendered (that you for that).
What I need is to wrap all of the custom fields generated by the plug-in inside of a <div> tag. Where would I alter the code to do that?
Example:
<div id="all-wcfield-tables"> <table class="wccpf_fields_table variations"> <tbody> <tr> <td class="label"><label for="">/* Fields Label */</label></td> <td class="value">/* Actual Field */</td> </tr> </tbody> </table> <table class="wccpf_fields_table variations"> <tbody> <tr> <td class="label"><label for="">/* Fields Label */</label></td> <td class="value">/* Actual Field */</td> </tr> </tbody> </table> </div>
Thank you in advance for your reply ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Wrap all fields in a div’ is closed to new replies.