Created
July 26, 2016 07:16
-
-
Save generatepress/f6e4c29488fcf36f0e49280f004ac3dc to your computer and use it in GitHub Desktop.
Move the header widget above the floating right navigation
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' ) ) : | |
/** | |
* Remove the header widget from the header | |
*/ | |
function generate_header_items() | |
{ | |
// Site title and tagline | |
generate_construct_site_title(); | |
// Site logo | |
generate_construct_logo(); | |
} | |
endif; | |
add_action('generate_before_header_content', 'generate_construct_header_widget', 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment