Adding JS right at the bottom of the page?
-
Hi there,
I currently have a JS file enqueued which appears towards the bottom of the page, but I need it to be added right at the bottom of the page.
How can I do this?
This is the current code I have:
wp_enqueue_script( 'custom', get_stylesheet_directory_uri() . '/js/custom.js', array( 'jquery' ), false, true );
Many thanks!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Adding JS right at the bottom of the page?’ is closed to new replies.