Changeset 11388
- Timestamp:
- 12/17/2021 10:00:57 PM (3 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer-wporg.php
r8556 r11388 12 12 namespace WordPressdotorg\Theme; 13 13 14 require WPORGPATH . 'footer.php'; 14 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 15 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 16 } else { 17 require WPORGPATH . 'footer.php'; 18 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/footer.php
r9560 r11388 16 16 </div><!-- #content --> 17 17 </div><!-- #page --> 18 18 19 <?php 19 require WPORGPATH . 'footer.php'; 20 21 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 22 echo do_blocks( '<!-- wp:wporg/global-footer /-->' ); 23 } else { 24 require WPORGPATH . 'footer.php'; 25 } 20 26 21 27 return; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header-wporg.php
r6277 r11388 12 12 namespace WordPressdotorg\Theme; 13 13 14 require WPORGPATH . 'header.php'; 14 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 15 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 16 } else { 17 require WPORGPATH . 'header.php'; 18 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/header.php
r8257 r11388 12 12 namespace WordPressdotorg\Theme; 13 13 14 global $wporg_global_header_options; 15 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 16 $wporg_global_header_options['in_wrapper'] = ''; 17 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>'; 14 if ( ! FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 15 global $wporg_global_header_options; 16 17 if ( ! isset( $wporg_global_header_options['in_wrapper'] ) ) { 18 $wporg_global_header_options['in_wrapper'] = ''; 19 } 20 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#content">' . esc_html__( 'Skip to content', 'wporg' ) . '</a>'; 21 } 18 22 19 23 get_template_part( 'header', 'wporg' ); 20 24 ?> 25 21 26 <div id="page" class="site"> 22 27 <div id="content" class="site-content row gutters">
Note: See TracChangeset
for help on using the changeset viewer.