I’ve created a child theme and my own template-blank-4.php for the Renew stack. I’ve created a page using this template and all work well:
I also have a plug-in that creates posts that uses exactly the same template-blank-4.php and this is not rendering a header (or footer). I’ve included some PHP in that template as a test to show the template, stack etc and they appear to be identical. I have ensured the postmeta for the custom post type is correct for this template (or at lest I think I have). Therefore something else must be different to make get_header() not render a header for my custom post type.
Here’s an example of the custom post:
Any suggestions as to why my custom post type that uses this template doesn’t have a header/footer?
Thanks
Martin
