[wp-trac] [WordPress Trac] #25685: Twenty Fourteen: Allow custom page templtes to be set as the front page.

WordPress Trac noreply at wordpress.org
Thu Oct 24 22:50:08 UTC 2013


#25685: Twenty Fourteen: Allow custom page templtes to be set as the front page.
---------------------------+-----------------------------
 Reporter:  iamtakashi     |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 The theme has two custom page templates, Full Width Page and Contributor
 Page templates. Users should be able to use either of temaplate for the
 front page if they wish to.

 However `front-page.php` was added to the theme in [25021] and this is
 always used for the front page as per
 [http://codex.wordpress.org/images/1/18/Template_Hierarchy.png the
 template hierarchy] therefore users are not able to set any custom page
 template as the front page.

 We probably need to remove `front-page.php` and move the template part for
 the featured content and the wrapper (We maybe remove this) to templates
 that can be set as the front page.

 Step to reproduce (Full Width Page):
 * Activate Twenty Fourteen.
 * Add some widgets to content sidebar to activate the sidebar.
 * Publish a page with the full width page template.
 * Select the published page as front page in the reading settings.
 * View the front page of the site. Content sidebar appears on the page.

 Step to reproduce (Contributor Page):
 * Activate Twenty Fourteen.
 * Publish at least one post.
 * Publish a page with the contributor template.
 * Select the published page as front page in the reading settings.
 * View the front pageof the site. There is no contributor is displayed.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25685>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list