Hello there,
I posted an earlier query about forcing an X global block into single.php.
http://bsuhrecr.nextmp.net/uncategorized/test-post/
We would like to be able to present the page with a large header image like this:
http://bsuhrecr.nextmp.net/staff-benefits/what-we-offer/
Following your advice, I added this code into the child theme’s functions.php file:
function custom_blog_header() {
if ( is_category() ) {
echo do_shortcode('[cs_gb id=412]');
}
}
add_action('x_before_view_integrity__landmark-header', 'custom_blog_header');
Unfortunately, this isn’t displaying, though, and I have double checked the global block’s ID.
Any ideas?
Many thanks,
Spencer