[wp-trac] [WordPress Trac] #39740: Twenty Seventeen: Allow child themes to use front-page.php when front page is set to "Your Latest Posts"

WordPress Trac noreply at wordpress.org
Fri Feb 3 23:10:42 UTC 2017


#39740: Twenty Seventeen: Allow child themes to use front-page.php when front page
is set to "Your Latest Posts"
---------------------------+-----------------------
 Reporter:  johnnyb        |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:  4.7
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+-----------------------

Comment (by davidakennedy):

 Hey @johnnyb!

 Thanks for the detailed explanation. All that makes sense, and I'm really
 sorry you wasted time because of this. That stinks!

 That said, I'm not sure of a possible fix here. We can detect child themes
 and if the front page is the posts page, but there isn't a great way to
 know if `front-page.php` is in use. If there was a reliable way that we
 knew if child theme makers did this, they want this functionality off, we
 could explore it. Maybe the best thing to do here is to updates the
 documentation to make this more clear?

 I'm open to other ideas though, before closing this.

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


More information about the wp-trac mailing list