Created
May 19, 2016 16:45
-
-
Save generatepress/4cfa628cec96088dcbf8dd8cf399b83e to your computer and use it in GitHub Desktop.
generate_header_items() has been simplified so you can easily change the order or elements in the header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'generate_header_items' ) ) : | |
/** | |
* Build the header | |
* | |
* Wrapping this into a function allows us to customize the order | |
* | |
* @since 1.2.9.7 | |
*/ | |
function generate_header_items() | |
{ | |
// Header widget | |
generate_construct_header_widget(); | |
// Site title and tagline | |
generate_construct_site_title(); | |
// Site logo | |
generate_construct_logo(); | |
} | |
endif; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now in wp-content/themes/generatepress/inc/structure/header.php