Changeset 11402 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php
- Timestamp:
- 12/22/2021 06:22:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php
r10337 r11402 1 1 <?php 2 $GLOBALS['pagetitle'] = wp_get_document_title(); 3 global $wporg_global_header_options; 4 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 5 $wporg_global_header_options['in_wrapper'] = ''; 6 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#pagebody">' . esc_html__( 'Skip to content', 'wporg-showcase' ) . '</a>'; 2 3 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 5 } else { 6 $GLOBALS['pagetitle'] = wp_get_document_title(); 7 global $wporg_global_header_options; 8 if ( !isset( $wporg_global_header_options['in_wrapper'] ) ) 9 $wporg_global_header_options['in_wrapper'] = ''; 10 $wporg_global_header_options['in_wrapper'] .= '<a class="skip-link screen-reader-text" href="#pagebody">' . esc_html__( 'Skip to content', 'wporg-showcase' ) . '</a>'; 11 require WPORGPATH . 'header.php'; 12 } 7 13 8 14 $prefix = is_ssl() ? 'https://' : 'http://s.'; 9 15 wp_enqueue_style( 'blog-wp4', $prefix.'wordpress.org/style/blog-wp4.css', array(), 4 ); 10 16 wp_enqueue_style( 'showcase', get_stylesheet_uri(), array(), 20 ); 11 require WPORGPATH . 'header.php'; 17 12 18 ?> 19 13 20 <div id="headline"> 14 21 <div class="wrapper">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)