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

WordPress Trac noreply at wordpress.org
Tue Oct 11 21:24:12 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:  has-ux-feedback has-patch  |     Focuses:  ui
---------------------------------------+------------------

Comment (by bradyvercher):

 @karmatosed Glad to hear you got it working!

 > Can we remove the word 'Page'? This is not needed when everything is a
 page. This is in the search panel.

 Yes, I've removed that in [attachment:37974.5.diff] when the control is
 set to only display one post type.

 > We do need to have the 'x' to remove showing without the panel open.
 It's just not intuitive otherwise how you remove. Ideally it would look
 like the mockup and be next to the arrows.

 I can make this change, but I'm not really a fan of making destructive
 operations so easily accessible without a confirmation, especially
 considering how close to other controls it is. They would also be the most
 visible controls on the screen even though they're not the primary action.

 What if we change the button label from "Add Sections" to "Manage
 Sections?" Would that help?

 > The original idea wasn't to have a fixed first page content, so we do
 need to not have that as discussion has already happened about that. It
 doesn't make sense for it to be removed, but having ability to move up and
 down absolutely does make sense.

 I tested this a bit more and it looks the front page does need to be the
 first section for the query and template loading to work correctly. Trying
 to make it sortable might open a big can of worms.

 We can remove the front page from the search results so that it can't be
 added as a section, but we would need to decide how to handle cases where
 the front page setting is changed to a page that's already been added as a
 section. Show an error message and filter it out on the front end?

 Themes could ultimately decide whether or not they want to show the front
 page section.

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


More information about the wp-trac mailing list