Created
July 24, 2013 23:14
-
-
Save agusmu/6075498 to your computer and use it in GitHub Desktop.
PrimaShop - move header content (logo+menu) to be beneath featured header
This file contains hidden or 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
/* move header content (logo+menu) to be BENEATH featured header */ | |
add_action( 'get_header', 'prima_custom_header_arrange' ); | |
function prima_custom_header_arrange() { | |
/* remove the action */ | |
remove_action( 'prima_header', 'prima_header_content_output', 20 ); | |
remove_action( 'prima_header', 'prima_header_featured_output', 30 ); | |
/* arrange with new priority */ | |
add_action( 'prima_header', 'prima_header_featured_output', 20 ); | |
add_action( 'prima_header', 'prima_header_content_output', 30 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tutorial: http://www.primathemes.com/documentation/move-header-content-logomenu-to-be-beneath-featured-header/