Hi,
For some reason all the listings on my homepage map have disappeared.
I am using an AitThemes.com Wordpress Theme Business Directory.
Anyone know why?
Remy answers:
Would be useful to have your site url
Nick Redd comments:
Oops. Ha ha. I'm new here sorry.
The site is: www.LocateAFoodTruck.com
Remy comments:
There is an error in the gmaps javascript when trying to evaluate the latitude value. Did you change anything on your website recently ?
Nick Redd comments:
This is what it is supposed to look like: http://preview.ait-themes.com/index.php?bartype=desktop&theme=directory you're sure about the gmaps javascript?
I've only been adding listings to it all day then I noticed the frontside wasn't showing anything.
Boo.
Remy comments:
Yes I'm sure, maybe the address in one of your entries can't be coordinated and causing the error when trying to get the latitude ?
You can try to set the listings added today to draft to see if the error goes away, and then republish them one by one until the error comes back
Nick Redd comments:
AH! That's a genius idea. I'll try that and be back to award you a winner! BRB.
Nick Redd comments:
THAT WORKED GREAT! Now, how do I award a prize on here? All I see is 'Vote' . . . I don't want to vote do I?
Remy comments:
Yes you vote for the answer that was helpful for you. Details at point 11 on this page http://wpquestions.com/page/static/name/About
Remy comments:
For assigning prize money you have this tutorial : http://blog.tailormadeanswers.com/2011/04/22/voting-assign-prize-money/
Nick Redd comments:
Hi, I'm pretty sure I voted 20 for you. Can you let me know if it worked?
This site is a bit confusing.
Balanean Corneliu answers:
This problem can be a result of 2 googleapi key in function.php
If yout have the same code try to remove one API line.
aitAddScripts(array(
'ait-googlemaps-api' => array('file' => 'http://maps.google.com/maps/api/js?sensor=false&language=en', 'deps' => array('jquery')),
'ait-jquery-gmap3' => array('file' => THEME_JS_URL . '/libs/gmap3.min.js', 'deps' => array('jquery', 'ait-googlemaps-api')),
));
Balanean Corneliu comments:
And be sure you was made a clean of you browser cache first.
Nick Redd comments:
Yikes! That sounds SUPER hard. I'm not even sure where I would find that.
Nick Redd comments:
This is what it's supposed to look like: http://preview.ait-themes.com/index.php?bartype=desktop&theme=directory