I am using the Divi theme on a WordPress site. I have saved some common components into the Divi Library.
Now I would like to show one of these saved library components on a non-Divi page but cannot for the life of me figure out how to do this.
I'm hoping I'll be able to do something like this:
echo get_divi_layout(MY_LAYOUT_ID);
Might be wishful thinking but if anyone has any pointers I'll be eternally grateful!
Managed to get it working by adding the below in a bbpress template file:
$is_page_builder_used = et_pb_is_pagebuilder_used(get_the_ID());
echo do_shortcode('[et_pb_section global_module="28365"][/et_pb_section]');
Don't forget to update the global module post ID.
Hope it works for others.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With