skip to Main Content

Move Topbar Inside Header Wrapper (useful to add it inside the header Overlay)

function myprefix_move_topbar_to_header() {
    remove_action( 'wpex_hook_wrap_top', 'wpex_top_bar', 5 );
    add_action( 'wpex_hook_header_top', 'wpex_top_bar', 1 );
}
add_action( 'init', 'myprefix_move_topbar_to_header' );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top