Theme: Enable testing new header on w.org sandboxes

See https://github.com/WordPress/wporg-mu-plugins/issues/19
This commit is contained in:
Ian Dunn 2021-12-22 09:09:58 -08:00
parent e49ee6bf94
commit ac25f4c008
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
3 changed files with 24 additions and 9 deletions

View file

@ -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';
}