Forum

Thread tagged as: Problem, Configuration

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).

David Owen

David Owen 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can use perch_content_custom() with the page 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?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, it will work with any pages that have content on them.