I’m Getting a “jQuery not found” Error

 

This article covers I’m Getting a “jQuery not found” Error with WP Google Maps. This documentation is current for WP Google Maps version 6.

 

In order for WP Google Maps and most other WordPress plugins to function correctly, jQuery needs to be installed by your theme. If jQuery is not properly installed by your theme, you will see an error stating “jQuery not found” where your Map should display.

 

Note that in the latest versions of WordPress (4.7.2 as of this writing), WordPress automatically loads jQuery for you, whenever some other script requires it. However, some plugins and scripts still do not handle jQuery properly and you may still come across this error message.

 

In order to ensure that jQuery is properly installed by your theme, please follow these steps:

  1. Log into your WordPress Dashboard.
  2. Find the Appearance menu, click on it, and then click on the Editor link.
  3. Locate the Theme Header (header.php) in the Templates list on the right side of the page and click on it. The contents of header.php will be shown in the Editor box.
  4. Find the line “wp_head();” and just above it, paste the following line of code:
    • <? php wp_enqueue_script(“jquery”); ?>
  5. Your header.php file should look something like this:

 

 

For a more detailed article of how to correctly include jQuery in your theme, please review the following article by Chris Coyier, Including jQuery in WordPress (The Right Way). This great article was updated in February 2017.

 


 

This article covers I’m Getting a “jQuery not found” Error with WP Google Maps. If you need further assistance, feel free to post on our Support Forums or visit our Support Desk.

 

Was this article helpful to you?