Support » Plugin: Page Builder by SiteOrigin » For Developers: How to Include Prebuilt Layouts in Theme?

  • Hi,

    We are building a website for client which heavily relies on your great plugin. Client will mainly use 2-3 layouts across 100+ pages (plus 3 languages just for start which makes it 300+).

    We need to include these layouts in theme so that client can choose them from “Prebuilt Layouts”. I have seen some of your themes support it, could you give me some basic instructions also?

    Regards,

    Kote

    https://wordpress.org/plugins/siteorigin-panels/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kshengelia

    (@kshengelia)

    Anyone? 🙂

    The documentation for developers creating prebuilt layouts can be found here: https://siteorigin.com/docs/page-builder/bundling-prebuilt/

    It’s relatively straightforward, but the one part you might get lost on is finding the page dump.

    Just to clarify, where it says to “view the HTML source of a page builder page you’ve already created,” view the HTML source in the Admin area, not the front-end. I made that mistake. 😛

    Search for “Page Builder Data” and you’ll see the PHP array dump commented out.

    Ideally, you’ll create a blank page, place your widgets, save the page, right-click and find the page dump, and use that dump as your prebuilt layout structure.

    Just a note: If you use a page that has text and other information in the widgets, all that shows up in the array dump.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘For Developers: How to Include Prebuilt Layouts in Theme?’ is closed to new replies.