Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example markup of Collapsible Section field with section description within collapsible body
<li id="field_x" class="gfield gsection collapsible-sections-field collapsible-sections-description-inside">
<h2 class="gsection_title">Section Title</h2>
</li>
<div class="collapsible-sections-collapsible-body" id="collapsible-section_x">
<div class="gsection_description">Section Description</div>
<li id="field_x" class="gfield">
<label class="gfield_label" for="input_x">Field Label</label>
<div class="ginput_container">
<input name="input_x" id="input_x" type="text" value="" class="medium">
</div>
</li>
<!-- remaining fields in section... -->
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment