Aah, my bad…
That’s the parent class we need it’s child.
This should work,
$content = $GLOBALS['Pootle_Page_Builder_Render_Layout']->panels_render( $page_data->ID );
Keep me posted 😉
Hey,
I guess you are tryna output multiple pages on single page for a cool single page website using page templates.
Try replacing
$content = apply_filters('the_content', $page_data->post_content);
with
$content = $GLOBALS['Pootle_Page_Builder_Render_Grid']->panels_render( $page_data->ID );
Lemme know how it works for ya 😉
I got the same problem I came to this thread yet couldn’t find a solutions. However on digging further I found that we need to add to customizer url get string
url=your_wp_site_url.com/?var=value&var=value
For instance
your_wp_site_url.com/wp-admin/customize.php?url=your_wp_site_url.com/?var=value&var=value&return=%2F7%2Fwp-admin%2Fthemes.php%3Fpage%3Dcover-pages
Where var and value correspond $_GET var you wanna use and your_wp_site_url.com/ is url to your site
Hope this helps somebody ; )
Cheers