icon-box2.php
31 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; // Exit if accessed directly. |
| 4 | } |
| 5 | ?> |
| 6 | |
| 7 | <div class="icon_box_two"> |
| 8 | <div class="box2_bg_shape"> |
| 9 | <?php if ( ! empty( $settings['i_box_icon'] ) ) { ?> |
| 10 | <span class="box_main_icon"><?php \Elementor\Icons_Manager::render_icon( $settings['i_box_icon'], [ 'aria-hidden' => 'true' ] ); ?></span> |
| 11 | <?php |
| 12 | } |
| 13 | ?> |
| 14 | <?php if ( ! empty( $settings['pro_box_icon'] ) ) { ?> |
| 15 | <span class="box_pro_icon"><?php \Elementor\Icons_Manager::render_icon( $settings['pro_box_icon'], [ 'aria-hidden' => 'true' ] ); ?></span> |
| 16 | <?php |
| 17 | } |
| 18 | ?> |
| 19 | |
| 20 | <?php if ( ! empty( $settings['title'] ) ) { ?> |
| 21 | <a <?php spel_button_link($settings[ 'box_link' ]) ?> class="box2_url"> |
| 22 | <<?php echo esc_attr( $box_title_tag ); ?> class="box_two_title"> |
| 23 | <?php echo esc_html( $settings['title'] ); ?> |
| 24 | </<?php echo esc_attr( $box_title_tag ) ?>> |
| 25 | </a> |
| 26 | <?php |
| 27 | } |
| 28 | ?> |
| 29 | </div> |
| 30 | </div> |
| 31 |