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

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

60 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template: CountDown General Widget Layout
4 *
5 * @package RadiusTheme\SB
6 */
7
8 /**
9 * Template variables:
10 *
11 * @var $countdown_expire_time string
12 * @var $has_countdown_days boolean
13 * @var $has_countdown_hours boolean
14 * @var $has_countdown_minutes boolean
15 * @var $has_countdown_seconds boolean
16 * @var $countdown_days_label string
17 * @var $countdown_hours_label string
18 * @var $countdown_minutes_label string
19 * @var $countdown_seconds_label string
20 * @var $countdown_layout string
21 * @var $has_countdown_circle string
22 * @var $circle_stroke_width string
23 */
24
25
26 // Do not allow directly accessing this file.
27 use RadiusTheme\SB\Helpers\Fns;
28 use RadiusTheme\SB\Elementor\Widgets\General\CountDown\Render;
29
30 if ( ! defined( 'ABSPATH' ) ) {
31 exit( 'This script cannot be accessed directly.' );
32 }
33 ?>
34 <div class="rtsb-countdown-wrapper">
35 <div class="rtsb-countdown rtsbcd1 <?php echo esc_attr( $has_countdown_circle ); ?>" data-deadline-date-time="<?php echo esc_attr( $countdown_expire_time ); ?>">
36
37 <?php
38 if ( $has_countdown_days ) {
39 Fns::print_html( Render::render_countdown( 'rtsb-day', $countdown_days_label, $countdown_layout, $circle_stroke_width ) );
40 }
41 ?>
42 <?php
43 if ( $has_countdown_hours ) {
44 Fns::print_html( Render::render_countdown( 'rtsb-hr', $countdown_hours_label, $countdown_layout, $circle_stroke_width ) );
45 }
46 ?>
47 <?php
48 if ( $has_countdown_minutes ) {
49 Fns::print_html( Render::render_countdown( 'rtsb-min', $countdown_minutes_label, $countdown_layout, $circle_stroke_width ) );
50 }
51 ?>
52 <?php
53 if ( $has_countdown_seconds ) {
54 Fns::print_html( Render::render_countdown( 'rtsb-sec', $countdown_seconds_label, $countdown_layout, $circle_stroke_width ) );
55 }
56 ?>
57
58 </div>
59 </div>
60