Changeset 1971278
- Timestamp:
- 11/09/2018 02:21:02 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
simple-text-only-countdown/trunk/simple-text-only-countdown.php
r1438264 r1971278 3 3 Plugin Name: Simple Text Only Countdown 4 4 Plugin URI: https://deuts.net/simple-text-only-countdown-wordpress-plugin/ 5 Description: A simple countdown shortcode plugin that displays just the text. No flash nor javascript for live timer effect, nor styles, just plain text. Visitors need to refresh the browsers in order to update the countdown.6 Version: 1. 1.05 Description: A simple countdown shortcode plugin that displays just the text. No flash nor javascript for live timer effect, nor styles, just plain text. Perfect for in-line text-based countdown timer. Visitors need to refresh the browsers in order to update the countdown. 6 Version: 1.2.0 7 7 Author: deuts 8 8 Author URI: http://deuts.net/ … … 36 36 $secondsOffset = $atts['timeoff'] * 60 * 60; 37 37 $targetDate -= $secondsOffset ; // Target date is expressed in GMT time 38 $actualDate = mktime(gmdate("G,i,s,n,j,Y")); // Actual date is expressed in GMT time38 $actualDate = strtotime(gmdate("j F Y G:i:s")); // Actual date is expressed in GMT time 39 39 40 40 if ($targetDate > $actualDate) {
Note: See TracChangeset
for help on using the changeset viewer.