Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39299, comment 1


Ignore:
Timestamp:
12/15/2016 03:42:11 PM (8 years ago)
Author:
JPry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39299, comment 1

    initial v1  
    77No need for a patch. A child theme (or plugin) just needs one line:
    88{{{#!php
     9<?php
    910remove_filter( 'frontpage_template',  'twentyseventeen_front_page_template' );
    1011}}}
    1112
     13Just make sure that filter is applied on the `after_setup_theme` action (or later).
     14
    1215Alternatively, you can create your own function and hook it to the `frontpage_template` filter to override what Twenty Seventeen is doing.