[wp-trac] [WordPress Trac] #37974: Add multi-panel feature to pages through add_theme_support

WordPress Trac noreply at wordpress.org
Mon Oct 10 19:03:40 UTC 2016


#37974: Add multi-panel feature to pages through add_theme_support
----------------------------+------------------
 Reporter:  karmatosed      |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  Themes          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  ux-feedback     |     Focuses:  ui
----------------------------+------------------

Comment (by davidakennedy):

 First up, thank you @bradyvercher for creating this patch. It's really
 neat to play with and provides a real foundation to move forward on in a
 more confident way. And thanks to @pento for helping improve it.

 I'm going to put the code feedback aside for now, because I think the
 biggest reason a prototype was needed was to see how this felt when using
 it. Here's some feedback along those lines:

 I really like all of this being in the Static Front Page section rather
 than a separate panel. I know that potentially locks this into less
 flexibility and less space on screen, but I do like seeing it all there in
 one shot. Like @karmatosed, I'd like to see some better visual separation
 between the old UI and the new sections UI, plus her other feedback
 mentioned.

 From a themer's perspective:

 * My favorite thing about this is the fact that it doesn't need anything
 beyond the `add_theme_support` line. It's as easy for themers as it could
 be for users, I think.
 * We'd probably want to filter out the pages being used for the front page
 and posts page so they can't be added as a section.
 * From a styling perspective, it might be a good thing to add a class to
 `post_class` for pages displayed in the loop as a section on the front
 page. That way, hooking in stylistically becomes one CSS class versus two.
 * How should comments be handled? It's a bit weird for the comment form to
 be allowed on pages used as sections because then you'd have multiple
 comment forms on the front page.

 I feel like this is headed in the right direction, and I'm excited to see
 the iterations of it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37974#comment:99>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list