• I’m currently developing a theme and I have the need to agrupate 2 controls (or more) under one div, as a separator. I’ve been able to do something similar to this creating a custom control, but it is only for inputs:

    That is one control, with two setting controls inside. Clicking on the arrow button closes the div so there is no mess in the section.

    The problem is that now I need to agrupate an input control with an Image Control.

    Actually, if it’s posibly, I’d like to know how to agrupate any amount of controls under a div or a separator.

    Thank!

    • This topic was modified 8 years, 9 months ago by raba97.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Controls are contained within sections. There are no formal provisions for additional divs and separators per se. Controls are grouped by section, that should be enough organization for most uses. Add as many as you need. If you really must, you could create additional panels in which to organize sections, but there is generally no need.

    The section should satisfy your need for multiple controls in a div or separator. AFAIK there is no limit to the number or type of controls in a section, but good user interface design tells us that we should not offer too many options or controls all at once in a single section.

Viewing 1 replies (of 1 total)

The topic ‘Agrupate controls on WordPress customizer’ is closed to new replies.