38 lines
1.5 KiB
PHP
38 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* Events Pro Countdown Widget
|
|
* This is the template for the output of the event countdown widget.
|
|
* All the items are turned on and off through the widget admin.
|
|
* There is currently no default styling, which is highly needed.
|
|
*
|
|
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/pro/widgets/countdown-widget.php
|
|
*
|
|
* @package TribeEventsCalendarPro
|
|
*
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
die( '-1' );
|
|
} ?>
|
|
|
|
<div class="tribe-countdown-timer tribe-clearfix">
|
|
<div class="tribe-countdown-days tribe-countdown-number">
|
|
<span class="fusion-tribe-counterdown-over">DD</span>
|
|
<span class="tribe-countdown-under"><?php esc_html_e( 'days', 'tribe-events-calendar-pro' ); ?></span>
|
|
</div>
|
|
<div class="tribe-countdown-hours tribe-countdown-number">
|
|
<span class="fusion-tribe-counterdown-over">HH</span>
|
|
<span class="tribe-countdown-under"><?php esc_html_e( 'hours', 'tribe-events-calendar-pro' ); ?></span>
|
|
</div>
|
|
<div class="tribe-countdown-minutes tribe-countdown-number">
|
|
<span class="fusion-tribe-counterdown-over">MM</span>
|
|
<span class="tribe-countdown-under"><?php esc_html_e( 'min', 'tribe-events-calendar-pro' ); ?></span>
|
|
</div>
|
|
<?php if ( $show_seconds ) : ?>
|
|
<div class="tribe-countdown-seconds tribe-countdown-number tribe-countdown-right">
|
|
<span class="fusion-tribe-counterdown-over">SS</span>
|
|
<span class="tribe-countdown-under"><?php esc_html_e( 'sec', 'tribe-events-calendar-pro' ); ?></span>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|