WordPress.org

Plugin Directory

Changeset 864357


Ignore:
Timestamp:
02/24/14 22:38:48 (4 years ago)
Author:
dmonnier
Message:

Tagging version 1.3

Location:
cssable-countdown/tags/1.3
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • cssable-countdown/tags/1.3/CSSable-Countdown.php

    r862533 r864357  
    66Author URI: http://wp.dmonnier.com/ 
    77Description: A fully CSS-able jQuery countdown/countup timer available in both widget and shortcode. 
    8 Version: 1.2 
     8Version: 1.3 
    99 
    1010Based on Keith Wood's "Countdown for jQuery" v1.6.3 (http://keith-wood.name/countdown.html). 
     
    9797         
    9898        // initialize javascript 
    99         wp_enqueue_script( 'kw-countdown', plugins_url( 'js/kw-jquery.countdown-1.6.3.js', __FILE__ ), 'jquery', '1.0', false ); 
     99        wp_enqueue_script( 'kw-countdown', plugins_url( 'js/kw-jquery.countdown-1.6.3.js', __FILE__ ), 'jquery', '1.0' ); 
    100100 
    101101        // initialize localization files 
     
    110110         
    111111        // initalize frontend CSS 
    112         wp_enqueue_style( 'cssable-countdown-style-default', plugins_url( 'includes/css/ccw-default.css', __FILE__ ), '', '1.1', false ); 
    113         wp_enqueue_style( 'cssable-countdown-style-list', plugins_url( 'includes/css/ccw-list.css', __FILE__ ), '', '1.1', false ); 
    114         wp_enqueue_style( 'cssable-countdown-style-text', plugins_url( 'includes/css/ccw-text.css', __FILE__ ), '', '1.1', false ); 
     112        wp_enqueue_style( 'cssable-countdown-style-default', plugins_url( 'includes/css/ccw-default.css', __FILE__ ), '', '1.1' ); 
     113        wp_enqueue_style( 'cssable-countdown-style-list', plugins_url( 'includes/css/ccw-list.css', __FILE__ ), '', '1.1' ); 
     114        wp_enqueue_style( 'cssable-countdown-style-text', plugins_url( 'includes/css/ccw-text.css', __FILE__ ), '', '1.1' ); 
    115115         
    116116        // initialize admin CSS and JS 
     
    122122            } 
    123123             
    124             wp_enqueue_style( 'cssable-countdown-admin-style', plugins_url( 'includes/css/ccw-admin.css', __FILE__ ), '', '1.1', false ); 
    125             wp_enqueue_script( 'cssable-countdown_admin-toggle', plugins_url( 'js/admin-toggle.js', __FILE__ ), 'jquery', '1.0', false ); 
     124            wp_enqueue_style( 'cssable-countdown-admin-style', plugins_url( 'includes/css/ccw-admin.css', __FILE__ ), '', '1.1' ); 
     125            wp_enqueue_script( 'cssable-countdown_admin-toggle', plugins_url( 'js/admin-toggle.js', __FILE__ ), 'jquery', '1.0' ); 
    126126        } 
    127127        add_action( 'admin_enqueue_scripts', 'my_enqueue' ); 
  • cssable-countdown/tags/1.3/readme.txt

    r862535 r864357  
    44Tags: countdown, timer, CSS 
    55Requires at least: 2.5 
    6 Tested up to: 3.8 
    7 Stable tag: 1.2 
     6Tested up to: 3.8.1 
     7Stable tag: 1.3 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    9999In your `functions.php` file, add these lines for every CSS file you're including: 
    100100 
    101 `wp_enqueue_style( 'cssable-countdown-style-YOURNAMEHERE', 'PATH/TO/CUSTOM/CSS/FILE.css' , '', '1.1', false );` 
     101`wp_enqueue_style( 'cssable-countdown-style-YOURNAMEHERE', 'PATH/TO/CUSTOM/CSS/FILE.css' , '', '1.1' );` 
    102102 
    103103* Replace `YOURNAMEHERE` with a unique name so it won't conflict with any other stylesheets. 
    104104* Replace `PATH/TO/CUSTOM/CSS/FILE.css` with the path to your CSS file.  It is suggested that you put the CSS file in your themes directory and use WordPress's [`get_stylesheet_directory()`](http://codex.wordpress.org/Function_Reference/get_stylesheet_directory "Function Reference/get_stylesheet_directory()") for your theme instead of giving it an absolute URL.  Ex: 
    105105 
    106 `wp_enqueue_style( 'cssable-countdown-style-YOURNAMEHERE', get_stylesheet_directory() . '/css/YOURCUSTOMFILE.css' , '', '1.1', false );` 
     106`wp_enqueue_style( 'cssable-countdown-style-YOURNAMEHERE', get_stylesheet_directory() . '/css/YOURCUSTOMFILE.css' , '', '1.1' );` 
    107107 
    108108= What languages are supported? = 
     
    174174== Changelog == 
    175175 
     176= 1.3 = 
     177* Fixed `media` property of the various `wp_enqueue_style()`s to default to `'all'` instead of `false` 
     178* Upgraded "tested up to" tag to 3.8.1 
     179 
    176180= 1.2 = 
    177181* Updated SVN to point to the actual location of the js files 
     
    228232== Upgrade Notice == 
    229233 
     234= 1.3 = 
     235Earlier versions will fail HTML5 validation due to malformed CSS link tag. 
     236 
     237= 1.2 = 
     2381.1 doesn't work due to me sucking at SVN.  Please upgrade to make the plugin work. 
     239 
    230240= 1.0 = 
    231241This version is the official release. 
Note: See TracChangeset for help on using the changeset viewer.