Displaying Child-Page with Template on Parent-Page (Remastering)
-
Not long time ago I did a Website (https://crystalevents.eu/) based on this great example (https://www.ads-software.com/support/topic/displaying-child-page-and-template-on-parent/) of loading various Child-Pages into one Parent-Pages, in my case each of the Child-Pages has it’s own template, with it’s own html content structure, with it’s own custom fields and it’s displayed as a section inside the html. A great way to add more content on the fly and being able to move it to the position you like inside the Parent.
There is just one thing I don’t really like from this example… For each of the Children you need two template parts / php files so it can work like explained on top. I hired a programmer to look into it, so it can be solved with only using one single template part / php file, but he told me that it’s not posible… but I can not believe that.
So it would be genius if someone out there has a idea how to make this work, thanks
- The topic ‘Displaying Child-Page with Template on Parent-Page (Remastering)’ is closed to new replies.