Hi Marko,
Thanks very much for taking the time to respond.when I say blocks, I mean Gutenberg blocks. my entire page content layout is handled with the Gutenberg block editor. I’m only able to modify the template for header items. all my content is from the_content(); and my footer items are widgets within the footer.
so, in my Gutenberg blocks, I’m using the shortcode Gutenberg block to add some custom code to pages. is it that I can only exclude items at the template level? I’d like to be able to exclude functions within my functions.php file.
does that make my query clearer?