mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user