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 );
- The topic ‘Adding JS right at the bottom of the page?’ is closed to new replies.