Search code examples
phpimpresspages

Render page from plugin controller


Is it possible to render an existing page from my plugin controller?

Something like:

ipContent()->getPage($id)->render() 

Solution

  • You have to find out the published revision of that page. And then generate the content of it

    https://www.impresspages.org/page-content-by-id