Including Sub-Pages as Blocks in my Template
-
I really need some help finding simplest, least invasive and/or “hackish” to solving this problem!
I have a custom theme which includes a custom “Home Page” template, applied to the main page of my site.
In the Home Page template, I need to display three (3) content blocks, which are actually 3 separate pages, using a custom “Section Block” template I’ve created.
The Section Block template is designed to display the Page Title, Featured Image, and the first 300 characters or so of a Page’s content, in a simplified layout.
What’s the best way to actually pull in these three pages and templates?
Note: Bear in mind that when the user clicks a Section Block on the Home Page, it will take them to the regular content page, using a completely different, standard Page template!
- The topic ‘Including Sub-Pages as Blocks in my Template’ is closed to new replies.