class eight_col_row_class extends SpyropressBuilderRow { public function __construct() { $this->config = array('name' => __('1/8', 'spyropress'), 'description' => __('8 1/8 columns', 'spyropress'), 'icon' => get_panel_img_path('layouts/6col.png'), 'columns' => array(array('type' => 'col_1by8'), array('type' => 'col_1by8'), array('type' => 'col_1by8'), array('type' => 'col_1by8'), array('type' => 'col_1by8'), array('type' => 'col_1by8'), array('type' => 'col_1by8'), array('type' => 'col_1by8'))); } } spyropress_builder_register_row('eight_col_row_class'); /** * Left Sidebar Row */ class left_sidebar_row_class extends SpyropressBuilderRow { public function __construct() { $this->config = array('name' => __('Left Sidebar', 'spyropress'), 'description' => __('1/4 + 3/4', 'spyropress'), 'icon' => get_panel_img_path('layouts/left-sidebar.png'), 'columns' => array(array('type' => 'col_1by4'), array('type' => 'col_3by4'))); } } spyropress_builder_register_row('left_sidebar_row_class'); /** * Right Sidebar Row */ class right_sidebar_row_class extends SpyropressBuilderRow { public function __construct() { $this->config = array('name' => __('Right Sidebar', 'spyropress'), 'description' => __('3/4 + 1/4', 'spyropress'), 'icon' => get_panel_img_path('layouts/right-sidebar.png'), 'columns' => array(array('type' => 'col_3by4'), array('type' => 'col_1by4'))); } } spyropress_builder_register_row('right_sidebar_row_class');
} $row_html = sprintf(' <div id="%1$s" class="%2$s"> <section class="featured_section footer map"> <div class="container"> <div class="%3$s"> %4$s </div> </div> </section> </div>', $row_ID, spyropress_clean_cssclass($section_class), get_row_class(true), builder_render_frontend_columns($row['columns'])); return $row_html; } } spyropress_builder_register_row('map_row_class'); /** * Map Row */ class gmap_row_class extends SpyropressBuilderRow { public function __construct() { $this->config = array('name' => __('GoogleMap Row', 'spyropress'), 'description' => __('GoogleMap row', 'spyropress'), 'icon' => get_panel_img_path('layouts/1col.png'), 'columns' => array(array('type' => 'col_11'))); } function row_wrapper($row_ID, $row) { return builder_render_frontend_columns($row['columns']); } } spyropress_builder_register_row('gmap_row_class');