Hi all,
Working on a template, and while I can find a lot of examples about pulling child page content/titles onto a parent, I can't seem to find a way to pull child pages wrapped in their template.
For example, if I had a template like this (I don't, this is simplified for demonstrative purposes):
<div class="hello">CONTENT</div>
I know how to pull in the 'CONTENT', but I want to bring in the the whole lot. Is this possible at all? I'm sure you can test what template the child page uses, but I would like to avoid doing a series of if statements and hard-coding in the templates to the parent page.
Any and all help is appreciated (I'd prefer not to use plugins).