Created
September 9, 2014 06:45
-
-
Save cliftoncanady/e480c3c281279e5db3c8 to your computer and use it in GitHub Desktop.
WP Snippet Foundation CSS JS
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
wp_enqueue_style( 'foundation-normalize', get_stylesheet_directory_uri() . '/bower_components/foundation/css/normalize.css' ); | |
wp_enqueue_style( 'foundation', get_stylesheet_directory_uri() . '/bower_components/foundation/css/foundation.css' ); | |
/* Foundation Icon Fonts */ | |
wp_enqueue_style( 'general-foundicons', get_stylesheet_directory_uri() . '/css/general_foundicons.css' ); | |
wp_enqueue_style( 'accessibility-foundicons', get_stylesheet_directory_uri() . '/css/accessibility_foundicons.css' ); | |
wp_enqueue_style( 'general-enclosed-foundicons', get_stylesheet_directory_uri() . '/css/general_enclosed_foundicons.css' ); | |
wp_enqueue_style( 'social-foundicons', get_stylesheet_directory_uri() . '/css/social_foundicons.css' ); | |
/* Add Custom CSS */ | |
wp_enqueue_style( 'foundation-s-custom-style', get_stylesheet_directory_uri() . '/css/app.css' ); | |
/* Add Foundation JS */ | |
wp_enqueue_script( 'foundation-js', get_template_directory_uri() . '/bower_components/foundation/js/foundation.min.js', array( 'jquery' ), '1', true ); | |
wp_enqueue_script( 'foundation-modernizr-js', get_template_directory_uri() . '/bower_components/foundation/js/vendor/modernizr.js', array( 'jquery' ), '1', true ); | |
wp_enqueue_script( 'foundation-init', get_template_directory_uri() . '/js/foundation.js', array( 'jquery' ), ’1′, true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment