Closed westonruter closed 10 years ago
From @melchoyce:
That's it. A picture is worth a thousand (of my) words. Thanks!
I think this kind of 3rd level of organization would be great for the Customizer in general. There should be a way to group customizer sections logically.
Heh.
http://www.shaunandrews.com/themes/new-customizer/
Played with this concept a few months ago. Still think it's a good direction.
Shaun
On Jan 28, 2014, at 7:06 PM, Weston Ruter notifications@github.com wrote:
From Mel Choyce:
— Reply to this email directly or view it on GitHub.
Aha! That's what I was trying to remember. I knew you'd done something with this concept at some point. Thanks. :)
There are a few side benefits of doing it this way:
Doing it this way also eliminates the need for a separate fly out menu for adding widgets. Nice!
This topic was discussed today on the weekly #wordpress-dev chat: https://irclogs.wordpress.org/chanlog.php?channel=wordpress-dev&day=2014-01-29&sort=asc#m780233
I think I figured out the way to do go about this, from a customizer technical perspective. Currently there is a separate customizer control for each sidebar and for each widget in each sidebar. So there is a mapping of one setting per control. However, if we were to merge the two controls into one widget area control, and associated multiple settings with that one control, then we'd be able to just have one single "Widgets" customizer section, and this section would be populated with these Widget Area controls. Each widget area control then could have each individual widget control appear inside of it: so we'd have our 3 levels. And when expanding the "Widgets" section, we could make it fly out as shown in @shaunandrews's prototype, instead of expand down as normal.
Moved to Trac: https://core.trac.wordpress.org/ticket/27406
Suggestion from @tomdryan: