Changeset 11433
- Timestamp:
- 01/12/2022 07:33:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php
r11402 r11433 1 1 <?php 2 3 add_theme_support( 'title-tag' ); 4 add_action( 'gp_head', '_wp_render_title_tag' ); 5 add_filter( 'document_title_parts', function() { 6 return [ 7 'title' => gp_title(), 8 ]; 9 }, 1 ); 2 10 3 11 if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) { 4 12 echo do_blocks( '<!-- wp:wporg/global-header /-->' ); 5 13 } else { 6 global $pagetitle;7 $pagetitle = gp_title();8 14 require WPORGPATH . 'header.php'; 9 15 }
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)