Plugin Directory

Changeset 1468772


Ignore:
Timestamp:
08/05/2016 04:37:10 PM (10 years ago)
Author:
Askupa Software
Message:

Releasing WordPress Dynamic CSS 1.0.5

Location:
wp-dynamic-css
Files:
11 added
1 edited

Legend:

Unmodified
Added
Removed
  • wp-dynamic-css/trunk/readme.txt

    r1450243 r1468772  
    33Tags: dynamic css, css, customizer, get_theme_mod, css variables, css compiler
    44Requires at least: 3.0
    5 Tested up to: 4.5.1
    6 Stable tag: 1.0.4
     5Tested up to: 4.5.3
     6Stable tag: 1.0.5
    77License: GPLv3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3232function my_dynamic_css_callback( $var_name )
    3333{
    34    return get_theme_mod($var_name);
     34    return get_theme_mod($var_name);
    3535}
    3636wp_dynamic_css_set_callback( 'my_dynamic_style', 'my_dynamic_css_callback' );
     
    4343<pre>
    4444body {
    45    background-color: $body_bg_color;
     45    background-color: $body_bg_color;
    4646}
    4747</pre>
     
    5353<pre>
    5454body {
    55    background-color: #fff;
     55    background-color: #fff;
     56}
     57</pre>
     58
     59There's even support for array subscripts and piped filters:
     60
     61<pre>
     62body {
     63    background-color: $myVar['index'];
     64    color: $myVar|myFilter;
    5665}
    5766</pre>
     
    7079
    7180== Changelog ==
     81
     82= 1.0.5 =
     83* (NEW) Added support for cache
     84* (NEW) Added support for piped filters
     85* (FIX) Separated enqueued stylesheets
     86* (FIX) Increased priority of enqueued stylesheets to override static stylesheets
    7287
    7388= 1.0.4 =
Note: See TracChangeset for help on using the changeset viewer.