Forum Replies Created
-
AuthorPosts
-
Are there any database updates required? So if I do update to 3.8, I can just re-upload my 3.4.3 backup and be good?
I am already at WordPress version 4.6.1.
So are you saying to go ahead and update Enfold directly from version 3.4.3 to version 3.8?
With that big of an update, I fear there will be some things that will break, but I guess we will see…
I am currently on version 3.4.3, which is around 1 year old.
It seems as though there are some major updates in between 3.4.3 and 3.8.
I will take versions:
3.4.7
3.5
3.5.4
3.6
3.7… and from there i can do the 3.8 upgrade through the updater.
Sound like a plan?
April 16, 2015 at 10:56 pm in reply to: Use Existing Google Map Api For Child Theme Custom Template #429953Thanks Elliot. I got it to work. I am conditionally enqueueing the Google Map API for just one page, along with the onload initialize in the body tag. No errors to speak of! Thanks again.
April 14, 2015 at 8:47 pm in reply to: Use Existing Google Map Api For Child Theme Custom Template #428445Hi Elliot,
For my custom template, I just duplicated page.php and renamed it. I have removed the callout to the external Google Map API. It still didn’t seem to work. Then I added onload=”initialize()” to the body tag and I get this error:
Uncaught ReferenceError: google is not defined
It stems from this code:
var mapOptions = { zoom: 11, center: new google.maps.LatLng(33.683415, -117.1542139), mapTypeId: google.maps.MapTypeId.ROADMAP };
The Google Maps API that ships with Enfold doesn’t seem to be getting loaded for this page.
Should I use a different page template to use as a base for my custom template? Maybe index.php?
Again, any help is much appreciated.
-
AuthorPosts