PressTigers

Using Page Builder Extension to Add Custom Columns Layout in Unyson Framework

In Unyson framework, multiple pages with custom columns layout can be created by utilizing visual drag and drop page builder extension. With a specific theme directory structure, Unyson framework can be extended. Following is the WordPress theme directory structure for builder extension:

wp-content → Themes  → twentysixteen → framework-customizations → extensions → builder

In order to add custom columns layout in Unyson, you may need to add the following files for builder extension:

  • Config.php
  • Static.php
    .

In config.php file, use the following code to add items width array for custom columns:

In static.php file, use the following code to add custom CSS and register style for custom Grid Columns layout:

Additionally, frontend-grid.css file should be placed by creating a static directory.

User Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Get in Touch