Created
October 10, 2024 02:27
-
-
Save henshaw/34be944da45c91671459dbd46caeb2ae to your computer and use it in GitHub Desktop.
This code, which goes in functions.php, forces WordPress to put jQuery links within the header.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function insert_jquery(){ | |
| wp_enqueue_script('jquery', false, array(), false, false); | |
| } | |
| add_filter('wp_enqueue_scripts','insert_jquery',1); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referenced on How to increase engagement through data visualization