mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-17 15:45:44 +03:00
Theme: Enable testing new header on w.org sandboxes
See https://github.com/WordPress/wporg-mu-plugins/issues/19
This commit is contained in:
parent
e49ee6bf94
commit
ac25f4c008
3 changed files with 24 additions and 9 deletions
|
@ -6,4 +6,10 @@ namespace WordPressDotOrg\FiveForTheFuture\Theme;
|
|||
|
||||
</div><!-- #content -->
|
||||
|
||||
<?php require WPORGPATH . 'footer.php';
|
||||
<?php
|
||||
|
||||
if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) {
|
||||
echo do_blocks( '<!-- wp:wporg/global-footer /-->' );
|
||||
} else {
|
||||
require WPORGPATH . 'footer.php';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue