<?php $title_text = $settings['title_text']; $this->add_render_attribute( 'block', 'class', [ 'widget gsc-countdown' ] ); $this->add_render_attribute( 'block', 'class', [ 'align-' . $settings['align'] ] ); $this->add_render_attribute( 'title_text', 'class', 'title' ); $this->add_inline_editing_attributes( 'title_text', 'none' ); $month = $settings['month'] ? $settings['month'] : '01'; $day = $settings['day'] ? $settings['day'] : '01'; $year = $settings['year'] ? $settings['year'] : '2019'; $hour = $settings['hour'] ? $settings['hour'] : '00'; $minutes = $settings['minutes'] ? $settings['minutes'] : '00'; $date = $month . '-' . $day . '-' . $year . '-' . $hour . '-' . $minutes . '-00'; ?> <div <?php echo $this->get_render_attribute_string( 'block' ) ?>> <div class="content-inner"> <?php if($title_text){ ?> <h3 <?php echo $this->get_render_attribute_string( 'title_text' ); ?>> <span><?php echo $settings['title_text'] ?></span> </h3> <?php } ?> <div class="gva-countdown-inner clearfix" data-countdown="countdown" data-date="<?php print $date ?>"></div> </div> </div> <div class="clearfix"></div>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
brand-hover | Folder | 0755 |
|
|
course | Folder | 0755 |
|
|
course-banner-group | Folder | 0755 |
|
|
course-filter | Folder | 0755 |
|
|
course-users | Folder | 0755 |
|
|
events | Folder | 0755 |
|
|
gallery | Folder | 0755 |
|
|
hover-box | Folder | 0755 |
|
|
icon-box-group | Folder | 0755 |
|
|
portfolio | Folder | 0755 |
|
|
posts | Folder | 0755 |
|
|
services-group | Folder | 0755 |
|
|
teams | Folder | 0755 |
|
|
testimonials | Folder | 0755 |
|
|
brand.php | File | 1.14 KB | 0644 |
|
career-block.php | File | 3.01 KB | 0644 |
|
cart.php | File | 957 B | 0644 |
|
circle-progress.php | File | 1.08 KB | 0644 |
|
countdown.php | File | 1.19 KB | 0644 |
|
counter.php | File | 1.99 KB | 0644 |
|
course-banner.php | File | 2.19 KB | 0644 |
|
course-filter-form.php | File | 4.94 KB | 0644 |
|
heading-block.php | File | 2.93 KB | 0644 |
|
icon-box-styles.php | File | 6.35 KB | 0644 |
|
image-content.php | File | 7.5 KB | 0644 |
|
locations-map.php | File | 2.55 KB | 0644 |
|
logo.php | File | 1.38 KB | 0644 |
|
map.php | File | 3.13 KB | 0644 |
|
navigation-menu.php | File | 692 B | 0644 |
|
pricing-block.php | File | 1.93 KB | 0644 |
|
rev-slider.php | File | 300 B | 0644 |
|
search-box.php | File | 1.06 KB | 0644 |
|
slider-images.php | File | 1.49 KB | 0644 |
|
user.php | File | 5.27 KB | 0644 |
|
video-box.php | File | 2.27 KB | 0644 |
|
video-carousel.php | File | 1.34 KB | 0644 |
|
work-process.php | File | 2.27 KB | 0644 |
|