Snippet: Move Topbar Inside Header Wrapper (useful to add it inside the header Overlay)
add_action( 'init', function() {
remove_action( 'wpex_hook_wrap_top', 'wpex_top_bar', 5 );
add_action( 'wpex_hook_header_top', 'wpex_top_bar', 1 );
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
We recommend Code Snippets (100% Free) or WPCode (sponsored)