Hi, I’m working on a site and I’ve added some code to the functions.php file so it adds a global block under the header on every page. The only thing is, it appears under the header landmark on the product pages and I’d like it to go above the landmark. Is there a way of doing this? I’ve searched the forum and can’t find anything!
I’ll put the URL in a secure note as it’s being built on a temp link.
Here’s the code I’ve used:
add_action( 'x_after_view_header_base', 'add_global_header' );
function add_global_header() {
echo do_shortcode('[cs_gb id=183]');
}
I’d be grateful of any help!
Thanks!