PluginProbe ʕ •ᴥ•ʔ
Spider Elements – Premium Elementor Widgets & Addons Library / 1.6.5
Spider Elements – Premium Elementor Widgets & Addons Library v1.6.5
trunk 1.0.0 1.1.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.7.0 1.8.0 1.9.0
spider-elements / widgets / templates / Icon-box / icon-box1.php
spider-elements / widgets / templates / Icon-box Last commit date
icon-box1.php 1 year ago icon-box2.php 1 year ago
icon-box1.php
39 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly.
4 } ?>
5
6 <div class="spel_icon_box">
7 <a <?php spel_button_link($settings['box_link']); ?> class="box_bg_shape">
8 <?php if ( ! empty( $settings['i_box_icon'] ) ) { ?>
9 <div class="box_icon">
10 <span class="box_main_icon">
11 <?php \Elementor\Icons_Manager::render_icon( $settings['i_box_icon'], [ 'aria-hidden' => 'true' ] ); ?>
12 </span>
13 </div>
14 <?php } ?>
15
16 <div class="icon_box_content">
17 <?php if ( ! empty( $settings['title'] ) ) { ?>
18 <<?php echo esc_attr( $box_title_tag ); ?> class="box_title">
19 <?php echo esc_html( $settings['title'] ); ?>
20 </<?php echo esc_attr( $box_title_tag ); ?>>
21 <?php } ?>
22
23 <?php if ( ! empty( $settings['description'] ) ) { ?>
24 <p class="icon_box_description">
25 <?php echo esc_html( $settings['description'] ); ?>
26 </p>
27 <?php } ?>
28
29 <?php if ( ! empty( $settings['btn_text'] ) ) { ?>
30 <div class="icon_box_button">
31 <span class="box_button"><?php echo esc_html( $settings['btn_text'] ); ?></span>
32 <?php if ( ! empty( $settings['btn_icon'] ) ) { ?>
33 <?php \Elementor\Icons_Manager::render_icon( $settings['btn_icon'], [ 'aria-hidden' => 'true' ] ); ?>
34 <?php } ?>
35 </div>
36 <?php } ?>
37 </div>
38 </a>
39 </div>