Forum
Get content from other sub page
I've had a request to have an editor edit one page but instances need to appear in more than one page on the site. The master page being In a public subpage and the other a member area subpage both pages created using the pages app.
How can I get the content from one subpage to appear in another?
(or should I create shared content and use and updated master page for both those pages).
You can use
perch_content_custom()
with thepage
option to get content from a different page.See the section "Using content from different pages" https://docs.grabaperch.com/docs/content/perch-content-custom/
Does this work even though these are subpages created by a master?
Yes, it will work with any pages that have content on them.