Some Enqueue stuff
-
Fantastic Theme!
So stoked you guys pushed it out because I have been looking forward to seeing it.In inc/scripts.php there are a few js files that are enqueued that require jquery to run. Changing lines 25-29 in that file to this –
wp_enqueue_script('lsx_scripts', get_template_directory_uri() . '/js/scripts.min.js', 'jquery', 'c9f983e2965b9c7888dac272e56c4f4b', true); wp_enqueue_script('modernizr', get_template_directory_uri() . '/js/vendor/modernizr-2.7.0.min.js', 'jquery', null, false); wp_enqueue_script('mousewheel', get_template_directory_uri() . '/js/vendor/jquery.mousewheel.min.js', 'jquery', null, false); wp_enqueue_script('smoothscroll', get_template_directory_uri() . '/js/vendor/jquery.simplr.smoothscroll.min.js', 'jquery', null, false); wp_enqueue_script('sticky', get_template_directory_uri() . '/js/vendor/jquery.sticky.js', 'jquery', null, false);
should fix it up.
Hope to see more ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Some Enqueue stuff’ is closed to new replies.