This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Prebuilt Layouts

Resolved 2 replies pluginplugin-page-builder
11 years ago · Last reply by Christoffer Riis 11 years ago

I’ve noticed that you can create these prebuilt layouts which is great, but is it possible to code them directly into a theme, so the customer can easily choose a layout to build upon? E.g. Front-page, Contact-page etc.

Thanks,
Chris

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Greg Priday Staff 11 years, 10 months ago

    Hi Chris

    This is very possible. You can take a look at how it’s done in Vantage.

    https://siteorigin.com/theme/vantage/

    The main magic is happening in the /inc/panels.php file. Also, if you add the following to your wp-config.php file in your development server, you’ll get a nicely formatted version of the current page when you’re editing it in your admin. It’ll appear as a comment in the edit page’s HTML.

    define('SITEORIGIN_PANELS_DEV', true);
  2. Christoffer Riis 11 years, 10 months ago

    Thanks Greg!

    It’s a great theme you’ve made :)
    I’m going to release my very first plugin soon which contains the following widgets: blurb, notification box, skillbar and embedding. I think it will be useful combined with your pagebuilder.

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.

Have a different question or issue?

Start New Thread