[wp-trac] [WordPress Trac] #19627: Themes should be able to opt-in to a static front page

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 15 22:40:56 UTC 2012


#19627: Themes should be able to opt-in to a static front page
-----------------------------+--------------------------
 Reporter:  nacin            |       Owner:  koopersmith
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  3.4
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+--------------------------

Comment (by ocean90):

 My idea is to use something like `add_theme_support( 'static-page' ,
 array( 'front' => (ID|slug), 'posts' => (ID|slug)  )`,  the array is
 optional.

 The Customizer will fetch this and shows the same dropdown menu as on
 `options-reading.php`. The values, defined in the array, will be selected
 by default. If the user wants to use a static page, he/she just needs to
 check/confirm it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19627#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list