Added support for custom jQuery in uploads folder. Edited nav extras button to maintain proper padding and alignment for dropdowns.

This commit is contained in:
Mickey Kay
2014-01-17 13:30:51 -08:00
parent c8bb6d4158
commit 32d744ca8b
2 changed files with 7 additions and 5 deletions
+7 -4
View File
@@ -20,13 +20,16 @@
*/
function trestle_header_actions() {
// Google fonts
wp_enqueue_style( 'trestle-google-fonts', '//fonts.googleapis.com/css?family=Lato:300,700,900' );
wp_enqueue_style( 'theme-google-fonts', '//fonts.googleapis.com/css?family=Lato:300,700,900' );
// Custom CSS if desired
// Custom CSS (if desired)
wp_enqueue_style( 'trestle-custom-css', '/wp-content/uploads/custom.css' );
// Custom jQuery
wp_enqueue_script( 'trestle-jquery', get_stylesheet_directory_uri() . '/lib/js/theme-jquery.js', array( 'jquery' ), '1.0.0', true );
// Theme jQuery
wp_enqueue_script( 'theme-jquery', get_stylesheet_directory_uri() . '/lib/js/theme-jquery.js', array( 'jquery' ), '1.0.0', true );
// Custom jQuery (if desired)
wp_enqueue_script( 'trestle-custom-jquery', '/wp-content/uploads/custom.js', array( 'jquery' ), '1.0.0', true );
}