[wp-trac] [WordPress Trac] #37974: Add multi-panel feature to pages through add_theme_support
WordPress Trac
noreply at wordpress.org
Wed Oct 12 17:58:28 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 needs-patch | Focuses: ui
-----------------------------------------+------------------
Comment (by bradyvercher):
Nice job, @pento!
I made a few tweaks in [attachment:37974.9.diff] to handle changes to the
`page_on_front` setting. It:
* Automatically prepends the front page as a section whenever
`page_on_front` is changed. Nothing happens if the selected page is
already a section.
* Refreshes the list of sections when changing `page_on_front` to prevent
the front page from being deleted from the list.
* Fixes the logic for when the sections control should be visible
(`show_on_front` should be `page` and a page actually needs to be selected
for `page_on_front`).
I appreciate your recommendations, @celloexpressions. I'll make a
concerted effort to address some of the things you mention and work on
drafting up a more detailed response.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37974#comment:118>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list