Changeset 1161059
- Timestamp:
- 05/15/2015 10:33:02 AM (11 years ago)
- Location:
- smcountdown/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
smcountdown-widget.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smcountdown/trunk/readme.txt
r916945 r1161059 3 3 Tags: timer, countdown, launch, widget 4 4 Requires at least: 3.0 5 Tested up to: 3.9.16 Stable tag: 1. 05 Tested up to: 4.2.2 6 Stable tag: 1.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 25 25 26 26 Shortcode usage samples : 27 [smcountdown timerdate='201 4/12/31 23:59:59']28 Displays a countdown timer until Decembre 31th of 201 4, 23h59m59s.27 [smcountdown timerdate='2015/12/31 23:59:59'] 28 Displays a countdown timer until Decembre 31th of 2015, 23h59m59s. 29 29 30 30 == Installation == … … 42 42 == Changelog == 43 43 44 = 1.1 = 45 * Typo fix "Minuts" => "Minutes" 46 * Tested with WordPress 4.2.2 47 44 48 = 1.0 = 45 49 * Initial release -
smcountdown/trunk/smcountdown-widget.php
r916945 r1161059 2 2 /** 3 3 * @package SMCountDown_widget 4 * @version 1. 04 * @version 1.1 5 5 */ 6 6 /* … … 8 8 Plugin URI: http://wordpress.org/plugins/smcountdown-widget 9 9 Description: Displays a responsive JQuery countdown timer. 10 Version: 1. 010 Version: 1.1 11 11 Author: Stéphane Moitry 12 12 Author URI: http://stephane.moitry.fr … … 16 16 */ 17 17 18 /* Copyright 2014 Stéphane Moitry ([email protected])18 /* Copyright 2014-2015 Stéphane Moitry ([email protected]) 19 19 20 20 This program is free software; you can redistribute it and/or modify … … 75 75 $text = $text . '<div class="smcountdownelement days"><span class="number" id="smcountdowndays' . $id . '">200</span><span class="label">' . __('Days', 'smcountdown-widget') . '</span></div>'; 76 76 $text = $text . '<div class="smcountdownelement hours"><span class="number" id="smcountdownhours' . $id . '">10</span><span class="label">' . __('Hours', 'smcountdown-widget') . '</span></div>'; 77 $text = $text . '<div class="smcountdownelement minutes"><span class="number" id="smcountdownminutes' . $id . '">10</span><span class="label">' . __('Minut s', 'smcountdown-widget') . '</span></div>';77 $text = $text . '<div class="smcountdownelement minutes"><span class="number" id="smcountdownminutes' . $id . '">10</span><span class="label">' . __('Minutes', 'smcountdown-widget') . '</span></div>'; 78 78 $text = $text . '<div class="smcountdownelement seconds"><span class="number" id="smcountdownseconds' . $id . '">10</span><span class="label">' . __('Seconds', 'smcountdown-widget') . '</span></div>'; 79 79 $text = $text . '</section>'; … … 95 95 function form($instance) { 96 96 $title = ''; 97 $timerdate = '201 4-12-31 23:59:59';97 $timerdate = '2015-12-31 23:59:59'; 98 98 99 99 if (isset($instance['title'])) { … … 115 115 function smcountdown_widget_shortcode( $atts ) { 116 116 $attributes = shortcode_atts( array( 117 'timerdate' => '201 4-12-31 23:59:59'117 'timerdate' => '2015-12-31 23:59:59' 118 118 ), $atts ); 119 119
Note: See TracChangeset
for help on using the changeset viewer.