This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
/** | |
* libsass list manipulation problem | |
* I am using the following code as a crude example. | |
* the real world application I am trying to achieve | |
* is providing grid system setup via a single $args array. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Functions to shorten calling assets | |
*/ | |
function get_assets($subdir){ | |
return get_stylesheet_directory_uri() .'/assets'.($subdir ? '/'. $subdir : ''); | |
} | |
function assets($subdir){ | |
echo get_stylesheet_directory_uri() .'/assets'.($subdir ? '/'. $subdir : ''); |
NewerOlder