PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.6
ShopBuilder – WooCommerce Builder For Elementor v3.2.6
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
shopbuilder / templates / elementor / general / info-box / layout2.php

layout2.php in ShopBuilder – WooCommerce Builder For Elementor 3.2.6, at templates/elementor/general/info-box/layout2.php

108 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template: Info Box
4 *
5 * @package RadiusTheme\SB
6 */
7
8 /**
9 * Template variables:
10 *
11 * @var $info_box_title string
12 * @var $info_box_title_html_tag string
13 * @var $has_button bool
14 * @var $description string
15 * @var $has_description bool
16 * @var $has_count bool
17 * @var $sb_button_content string
18 * @var $count string
19 * @var $sb_button_icon array
20 * @var $sb_button_icon_position string
21 * @var $button_attributes string
22 * @var $icon_html string
23 * @var $icon_type string
24 * @var $icon_bg_type string
25 * @var $icon_hover_bg_type string
26 */
27
28 use RadiusTheme\SB\Elementor\Render\GeneralAddons;
29 use RadiusTheme\SB\Helpers\Fns;
30 use RadiusTheme\SB\Elementor\Widgets\General\CallToAction\Render;
31
32 // Do not allow directly accessing this file.
33 if ( ! defined( 'ABSPATH' ) ) {
34 exit( 'This script cannot be accessed directly.' );
35 }
36 ?>
37 <div class="rtsb-info-box-wrap">
38 <div class="rtsb-info-box-inner">
39 <div class="info-box-top-content">
40 <div class="icon-title-wrap">
41 <?php
42 if ( ! empty( $icon_html ) ) {
43 ?>
44 <div class="info-box-icon-holder <?php echo esc_attr( $icon_type ); ?>">
45 <div class="icon-wrap <?php echo esc_attr( 'has-' . $icon_bg_type . '-bg has-' . $icon_hover_bg_type . '-hover-bg' ); ?>">
46 <?php Fns::print_html( $icon_html ); ?>
47 </div>
48 </div>
49 <?php
50 }
51
52 /**
53 * Title.
54 */
55 ?>
56 <<?php Fns::print_validated_html_tag( $info_box_title_html_tag ); ?> class="rtsb-info-box-title">
57 <?php Fns::print_html( $info_box_title ); ?>
58 </<?php Fns::print_validated_html_tag( $info_box_title_html_tag ); ?>>
59 </div>
60 <?php
61 if ( $has_count && ! empty( $count ) ) {
62 ?>
63 <div class="info-box-counter">
64 <?php Fns::print_html( $count ); ?>
65 </div>
66 <?php } ?>
67 </div>
68
69 <div class="info-box-bottom-content">
70
71 <?php
72 /**
73 * Description.
74 */
75 if ( $has_description ) {
76 ?>
77 <div class="rtsb-info-box-description">
78 <?php Fns::print_html( $description ); ?>
79 </div>
80 <?php
81 }
82 ?>
83 <?php
84 /**
85 * Button.
86 */
87 if ( $has_button ) {
88 ?>
89 <div class="rtsb-shopbuilder-button">
90 <?php
91 GeneralAddons::render_buttom_html(
92 [
93 'button_attributes' => $button_attributes,
94 'sb_button_icon' => $sb_button_icon,
95 'sb_button_icon_position' => $sb_button_icon_position,
96 'sb_button_content' => $sb_button_content,
97 ]
98 );
99 ?>
100 </div>
101
102 <?php
103 }
104 ?>
105 </div>
106 </div>
107 </div>
108