Skip to content

Instantly share code, notes, and snippets.

@agusmu
Created July 24, 2013 23:14
Show Gist options
  • Save agusmu/6075498 to your computer and use it in GitHub Desktop.
Save agusmu/6075498 to your computer and use it in GitHub Desktop.
PrimaShop - move header content (logo+menu) to be beneath featured header
/* 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 );
}
@agusmu
Copy link
Author

agusmu commented Sep 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment