Created
March 9, 2014 14:17
-
-
Save alexadark/9448416 to your computer and use it in GitHub Desktop.
genesis DWB: enqueue scripts
This file contains 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
add_action( 'wp_enqueue_scripts', 'enqueue_dev_style' ); | |
/** | |
* Enqueue development css file which will be in uploads > themes > dynamik/gen root folder. | |
*/ | |
function enqueue_dev_style() | |
{ | |
wp_enqueue_script( 'dev', dynamik_get_stylesheet_location( 'url' ) . 'dev.js', array( 'jquery' ), CHILD_THEME_VERSION, true ); | |
wp_enqueue_style( 'dev', dynamik_get_stylesheet_location( 'url' ) . 'dev.css', CHILD_THEME_VERSION, true ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment