Most times there’s nothing built in, but it’s easy to do it yourself.
Something like this…
<?php if (!array_key_exists ('embed', $_GET) && $_GET ['embed'] == 'yes'): ?>
<?php get_header (); ?>
<?php endif; ?>
Then you can pass in a URL like this:
http://mysite.com/my-page/?embed=yes
Thank you catacaustic,
I started digging based on your suggestion. Apparently every template from a theme includes get_header(), get_footer(); and besides this, themes have theme specific ways of including sidebars.
I used a child theme. However, I did not override the template (which would have meant copying/pasting. I have inserted a JS that hides the blocks that don’t interest me.
Best regards,
Cristian.