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

WordPress Trac noreply at wordpress.org
Sun Sep 11 16:01:31 UTC 2016


#37974: Add multi-panel feature to pages through add_theme_support
-----------------------------+------------------------------
 Reporter:  karmatosed       |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by celloexpressions):

 I think the first step is to define how the actual content should be
 managed. Once that's clearly defined, we can explore the best way to
 manage those pieces to actually show them in a single view on the front
 end with the theme having control over the presentation and exact
 implementation details.

 Presumably the implication is that themes don't have enough control over
 `the_content()` to do what they'd like to with "multi-content" views,
 requiring separate objects to be pulled in. So far I've seen the following
 object types proposed on this ticket for managing the actual content:
 - Post objects (namely pages, but I wouldn't restrict to that at this
 point; child pages fall into this same category).
 - Shortcodes; ie, the multi-content pieces are all stored within a page.
 - Widgets
 - Terms is one other I'll throw out, as there is precedent for using those
 for featured/homepage content in themes such as Twenty Fourteen.

 If we can agree on the storage mechanism for content (and it may involve
 multiple of the above), it'll be easier to evaluate how best to let users
 manage them. We should not assume that core changes will necessarily be
 required here, though. I also happen to have a proposal related to menus,
 but I'll wait until we can agree on how content should be stored before
 demonstrating that further.

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


More information about the wp-trac mailing list