default.php
27 lines
| 1 | <?php defined('ABSPATH') || exit; ?> |
| 2 | <div class="shopengine-archive-view-mode"> |
| 3 | <div class="shopengine-archive-view-mode-switch-list"> |
| 4 | <?php if($settings['shopengine_view_mode_four_grid'] === 'yes'): ?> |
| 5 | <button title="<?php esc_html_e('Gird View','shopengine')?>" class="shopengine-archive-view-mode-switch isactive" data-view="grid"> |
| 6 | <?php \Elementor\Icons_Manager::render_icon( $settings['shopengine_view_mode_four_grid_icon'], [ 'aria-hidden' => 'true' ] ); ?> |
| 7 | </button> |
| 8 | <?php endif; ?> |
| 9 | <?php if($settings['shopengine_view_mode_three_grid'] === 'yes'): ?> |
| 10 | <button title="<?php esc_html_e('Gird 3 Columns View','shopengine')?>" class="shopengine-archive-view-mode-switch" data-view="grid-3"> |
| 11 | <?php \Elementor\Icons_Manager::render_icon( $settings['shopengine_view_mode_three_grid_icon'], [ 'aria-hidden' => 'true' ] ); ?> |
| 12 | </button> |
| 13 | <?php endif; ?> |
| 14 | <?php if($settings['shopengine_view_mode_two_grid'] === 'yes'): ?> |
| 15 | <button title="<?php esc_html_e('Gird 2 Columns View','shopengine')?>" class="shopengine-archive-view-mode-switch" data-view="grid-2"> |
| 16 | <?php \Elementor\Icons_Manager::render_icon( $settings['shopengine_view_mode_two_grid_icon'], [ 'aria-hidden' => 'true' ] ); ?> |
| 17 | </button> |
| 18 | <?php endif; ?> |
| 19 | <?php if($settings['shopengine_view_mode_list_grid'] === 'yes'): ?> |
| 20 | <button title="<?php esc_html_e('List View','shopengine')?>" class="shopengine-archive-view-mode-switch" data-view="list"> |
| 21 | <?php \Elementor\Icons_Manager::render_icon( $settings['shopengine_view_mode_list_grid_icon'], [ 'aria-hidden' => 'true' ] ); ?> |
| 22 | </button> |
| 23 | <?php endif; ?> |
| 24 | |
| 25 | </div> |
| 26 | </div> |
| 27 |