- Create function in file function.php. Ex. function boostify_post_grid_add_layout() { $layout = new \Boostify_Elementor\Posts\Layout(); $args = array( 'layout_1' => 'Layout 1',// $setting_layout = 'layout_1'; ); $layout->add_layout_grid( $args ); }
- Add action elementor/init Ex. add_action( 'elementor/init', 'boostify_post_grid_add_layout' );
- Create function get layout custom. Ex. function boostify_get_content() { }
- Add action add_action( 'boostify_post_grid_{$setting_layout}', 'boostify_get_content' );
-
Notifications
You must be signed in to change notification settings - Fork 0
woostify/boostify-elementor-addon
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published