Home>Support>Load Page Builder layout (json) into my page via JQuery

Load Page Builder layout (json) into my page via JQuery

Hi,
what I’d like to do is to load different layouts, which I made in Page Builder, into my page on different on click events.
Would it be possible to load the json file, the one you get when exporting the layout, via JQUERY let’s say?

Thanks

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

  1. 7 years, 11 months ago Alex S
    Hi, I Work Here

    Hi Francesco,

    We don’t have anything setup for this but this is definitely, but admittedly it’ll take a lot of work. The JSON export is basically just settings. It’s not the rendered layout itself as that’s generated by SiteOrigin Page Builder. This means that the only way to do what you’re trying to do is that you would have to get SiteOrigin Page Builder to generate the layout (this would require PHP) and then display that (that part could be done with jQuery and Ajax)

    Overall, I wouldn’t recommend doing this. I would, however, recommend building a tab (or whatever kind of link) widget instead. For the contents of the tab, you could use the builder form field to give the user a full page builder.

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