[wp-trac] [WordPress Trac] #38013: Static Front Page section/controls should be contextual and allow assignment to page stubs

WordPress Trac noreply at wordpress.org
Fri Sep 9 19:30:42 UTC 2016


#38013: Static Front Page section/controls should be contextual and allow
assignment to page stubs
-----------------------------+-----------------------------
 Reporter:  westonruter      |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Customize        |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------------

Comment (by westonruter):

 [attachment:38013.0.diff] implements the contextual (active callback)
 part, mostly.

 The second part (syncing the created pages to the `page_for_posts` and
 `page_for_posts` controls) is facilitated by the control in the
 [https://github.com/xwp/wp-customize-object-selector Customize Object
 Selector] feature plugin:

 [[Image(static-front-page-with-object-selector-controls.png, width=300)]]

 Note that the Object Selector Control also integrates with
 [https://github.com/xwp/wp-customize-posts Customize Posts] in that it
 will display a “Add New” button which will cause a new page to be created
 and allow you to edit its fields right in the customizer. Collapsing the
 section for the newly-created page brings you back then to the static
 front page control with the newly-created page then selected.

 So too, the Customize Posts will provide a way to edit page stubs created
 in the customizer. (See [https://github.com/xwp/wp-customize-
 posts/issues/253 wp-customize-posts#253]).

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


More information about the wp-trac mailing list