Search for jQuery in the source code
Posted: Mon Jan 06, 2025 5:15 am
View page source code
Then, press Ctrl + F (or Cmd + F on Mac) to display the search bar and enter "jquery.min.js".
If jQuery loads correctly, you should see a latvia phone number reference to it in your code.
Another way to search for jQuery is to use your browser's Inspect tool. Just go to the Network tab and reload the page.
Tip: On Windows devices, you can access the Inspector tool by pressing F12 on your keyboard. For Mac, press Options + Cmd + I.
Filter web activity by typing "jquery" in the search bar. If jQuery is loaded, you'll see it listed here.
Find jQuery in developer tools
If you don't see jQuery loading in either method, the problem may be with the way it's being held up in WordPress. In the next steps, we'll guide you through the problem.
3. Added jQuery fallback
Sometimes, scripts on your site may use a CDN that has connectivity issues to load jQuery. In this case it will fail to load jQuery and cause an error.
To resolve this issue, you can add a jQuery fallback to your WordPress site. This ensures that jQuery is always loaded.
You need to add this to the head of your website to ensure it loads first. However, we don't recommend editing theme files directly. We found that people were losing changes when they updated themes and added code.
The best way to add custom code in WordPress is to use the WPCode plugin. This is a snippet manager that allows you to safely add custom code without breaking your site.
First, install and start the WPCode plugin. See our WordPress plugin installation tutorial for more details.
Note: There is also a free version called WPCode Lite.
Then, press Ctrl + F (or Cmd + F on Mac) to display the search bar and enter "jquery.min.js".
If jQuery loads correctly, you should see a latvia phone number reference to it in your code.
Another way to search for jQuery is to use your browser's Inspect tool. Just go to the Network tab and reload the page.
Tip: On Windows devices, you can access the Inspector tool by pressing F12 on your keyboard. For Mac, press Options + Cmd + I.
Filter web activity by typing "jquery" in the search bar. If jQuery is loaded, you'll see it listed here.
Find jQuery in developer tools
If you don't see jQuery loading in either method, the problem may be with the way it's being held up in WordPress. In the next steps, we'll guide you through the problem.
3. Added jQuery fallback
Sometimes, scripts on your site may use a CDN that has connectivity issues to load jQuery. In this case it will fail to load jQuery and cause an error.
To resolve this issue, you can add a jQuery fallback to your WordPress site. This ensures that jQuery is always loaded.
You need to add this to the head of your website to ensure it loads first. However, we don't recommend editing theme files directly. We found that people were losing changes when they updated themes and added code.
The best way to add custom code in WordPress is to use the WPCode plugin. This is a snippet manager that allows you to safely add custom code without breaking your site.
First, install and start the WPCode plugin. See our WordPress plugin installation tutorial for more details.
Note: There is also a free version called WPCode Lite.