Fix - Submit job form map
Hi,
Suddenly today the version 2 of google map api script started to cause a conflict t the google map in the home page header.
We could fix it, and this fix will be included in the next maintenance release.
However you still can get it now by editing a core code following these instructions:
- Open simplux/functions.php , and find this code around #1933
wp_register_script ('googlemaps', 'http://maps.google.com/maps/api/js?&sensor=false', fasle, '3');
wp_enqueue_script ('googlemaps');
- Replace it by this :
function googlemaphome() {
if ( is_home() ) {
wp_register_script ('googlemaps', 'http://maps.google.com/maps/api/js?&sensor=false', false, '3');
}
}
add_action('wp_enqueue_scripts', 'googlemaphome');
then save the file.
Now if you refresh , the google map in the header, also the map which is located in submit job form are both working like charm.
Simplux version: 2.1
Date: March/25/2014
Regards
Last edited by spartac; March 26th, 2014 at 06:13 AM.
Do you need high-quality content for your Website? For a significantly reduced price? Try aicontently.com
We answer the questions in threads as fast as the private messages, So
do not send support questions via private message. Use the forum instead and open a new thread for every issue.
Before you send any PM , Please read
These rules .