Home>Support>Layout Template Documentation Not Working

Layout Template Documentation Not Working

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi there,

I am working on a theme and we’d like to store some of the layouts in the codebase to “preserve” the original design state and promote better reuse of layouts.

I read through the documentation here: https://siteorigin.com/docs/page-builder/bundling-prebuilt/.

After adding the constants into the wp-config.php file – I am unable to see the output of the PHP data-dump that is mentioned – is there a new method for this that I might be missing?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 21 days ago SiteOrigin

    Hi Derek

    Sorry for the hassle, the dump is outputted into the page markup when viewing the admin, in WordPress. An updated method of doing this is as follows:

    1. Export your layouts by editing the page, clicking LayoutsImport/ExportDownload Layout.

    2. Declare the folder you’ll be storing your layouts in as follows: https://github.com/siteorigin/siteorigin-corp/blob/develop/inc/siteorigin-panels.php#L11-L18.

    3. Upload your layouts to your folder of choice: https://github.com/siteorigin/siteorigin-corp/tree/develop/inc/layouts.

    I’m sorry we haven’t updated the docs with this easier method. We’re a small team and sometimes things slip through the cracks. I’m making a note to get those prebuilt layout docs updated. Hope this message is in time to help.

  2. 6 years, 20 days ago derekcavaliero

    No problem at all – I know that feeling.

    We’ll be purchasing a premium license soon for faster support if necessary :D

    Thanks for the help.

  3. 6 years, 20 days ago SiteOrigin

    Thanks for your understanding :)

    We can also go deeper into technical questions within our premium support scope. Feel free to email us on [email protected] if you have any pre-sale questions.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More