My understanding of the “Page Builder” WordPress plugin is that it ultimately results in a webpage “or HTML” output.
If I want to define the layout of the my webpage and save that layout to the underlying MySQL database, is that possible? For example, I want to specify the following:
– The webpage will have 3 columns
– The widths of the 3 columns
– Where images will fall in the 3 columns
– The dimensions of each image
– Where text blocks will be located
– The dimensions of text blocks
but I don’t want to specify what images are used, what text will be used, etc… I only am concerned with the “layout definition” of the webpage. Is it possible to save the “layout definition” with “Page Builder” to MySQL without the actual content? Later in the future, other users would choose to bring up this “layout definition” that I created and build actual HTML pages that are based on the rules of my “layout definition”.
Hi Wesg,
You have two methods of doing this.
Preface: When creating the layout, simply don’t specify the contents of anything just specify the settings that will be used instead.
Method one: A template page
Create a template page and set it up as desired. Give it a descriptive name like “Template Example” and then finally, save.
Now navigate to a different page and enable Page Builder. Click the Layouts button in the page builder toolbar and select the relevant clone post type and then search for the template you created. Select it and insert it. This will allow you to create a template system without having to touch code.
Method Two creating a page layout
This is a bit complicated but this method won’t require a dedicated page. It will however require PHP. You can actually create page layouts. Please refer to the following documentation for information on building a SiteOrigin Page Builder Prebuilt Layouts.