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 / layout1.php

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

93 lines 2.3 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 $has_description bool
15 * @var $front_description string
16 * @var $back_description string
17 * @var $has_front_description bool
18 * @var $has_back_description bool
19 * @var $sb_button_content string
20 * @var $sb_button_icon array
21 * @var $sb_button_icon_position string
22 * @var $button_attributes string
23 * @var $icon_html string
24 * @var $icon_type string
25 * @var $description string
26 * @var $icon_border_layer string
27 */
28
29 use RadiusTheme\SB\Elementor\Render\GeneralAddons;
30 use RadiusTheme\SB\Helpers\Fns;
31
32
33 // Do not allow directly accessing this file.
34 if ( ! defined( 'ABSPATH' ) ) {
35 exit( 'This script cannot be accessed directly.' );
36 }
37 ?>
38 <div class="rtsb-info-box-wrap">
39 <div class="rtsb-info-box-inner">
40 <?php if ( ! empty( $icon_html ) ) { ?>
41 <div class="info-box-icon-holder <?php echo esc_attr( $icon_type . ' ' . $icon_border_layer ); ?>">
42 <div class="icon-wrap">
43 <?php Fns::print_html( $icon_html ); ?>
44 </div>
45 </div>
46 <?php } ?>
47 <div class="info-box-content">
48 <?php
49 /**
50 * Title.
51 */
52 ?>
53 <<?php Fns::print_validated_html_tag( $info_box_title_html_tag ); ?> class="rtsb-info-box-title">
54 <?php Fns::print_html( $info_box_title ); ?>
55 </<?php Fns::print_validated_html_tag( $info_box_title_html_tag ); ?>>
56 <?php
57 /**
58 * Description.
59 */
60 if ( $has_description ) {
61 ?>
62 <div class="rtsb-info-box-description">
63 <?php Fns::print_html( $description ); ?>
64 </div>
65 <?php
66 }
67 ?>
68 <?php
69 /**
70 * Button.
71 */
72 if ( $has_button ) {
73 ?>
74 <div class="rtsb-shopbuilder-button">
75 <?php
76 GeneralAddons::render_buttom_html(
77 [
78 'button_attributes' => $button_attributes,
79 'sb_button_icon' => $sb_button_icon,
80 'sb_button_icon_position' => $sb_button_icon_position,
81 'sb_button_content' => $sb_button_content,
82 ]
83 );
84 ?>
85 </div>
86
87 <?php
88 }
89 ?>
90 </div>
91 </div>
92 </div>
93