Forum Replies Created
-
AuthorPosts
-
DmitriyParticipant
After Moving hosting to https://wpengine.com/ from our own environment and installing everything once again before ANY theme, it now worked… I guess the right environment is the key here. I will be installing a theme and all other stuff on top and now I got a starting point at least.
DmitriyParticipantHi Lance,
I am really frustrated… I created brand new setup with a very robust and light theme. I have 5 basic Plugins (2 of them are yours) – see screenshot and it is still NOT showing map. Can you please help me with what’s happening?
http://talentfitness.com/sg/index.php/store-page/test-1/
http://talentfitness.com/sg/index.php/sample-page/
Attachments:
You must be logged in to view attached files.DmitriyParticipantHi Lance,
Thank you for your reply! I wish I got this kind of explanation and insights to my initial message. It would have saved me time. Considering what you said about negative effects of forcing map on each page, I am thinking about switching to a different theme altogether. Any themes you would recommends (contemporary / widescreen / with sliders) that you know of, that your product works well with. I am currently considering X-The Theme.
Thank you!
DmitriyParticipantThe theme I have is Ronneby Theme. It was not customized for me.
DmitriyParticipantThank you all for suggestions!
After contacting theme author it appears that the theme does not cooperate well with Store Page Map loading. I ended up coding map directly on Store Page.
If anyone has this problem in the future, here is code I used to add to each store page to get the map to appear:
<style>
#map {
width: 500px;
height: 400px;
}
</style>
<div id=”map”></div>
<script>
function initMap() {
var mapDiv = document.getElementById(‘map’);
var map = new google.maps.Map(mapDiv, {
center: {lat: 44.540, lng: -78.546},
zoom: 8
});
var marker = new google.maps.Marker({
position: {lat: 44.540, lng: -78.546},
map: map
});
}
</script>
<script src=”https://maps.googleapis.com/maps/api/js?callback=initMap”
async defer></script>You can style it and adjust lat/lng based on your needs. Hope it helps someone.
DmitriyParticipantI removed both, Share and Contact form and got the page to its most basic form – still not there…
DmitriyParticipantThis is not my intention to add [SLPLUS] to an individual store page. I was just experimenting adding it to various regular pages / posts (not generated by plugin) and map displays with all locations. I was curious to add it to a store page to see behaviour and it does not load. The exact content of my store page is posted in my first message above.
DmitriyParticipantI understand! Thank you for input! Talking to Cici here 🙂
DmitriyParticipantChanged map height / width to px – not it…
DmitriyParticipantAlso, when I add [SLPLUS] to any page or post of the site it loads just fine. However, if I add that to the store page post that is created by your plug in, I get Store Locator Plus did not initialize properly. To me it looks like however this store page is built (dynamically by your plugin) it is built differently from regular Pages / Posts on the site.
Attachments:
You must be logged in to view attached files.DmitriyParticipantWould not that be odd that map loads successfully on All Locations page and not on individual pages?
DmitriyParticipantHi Cici, Piani
Thank you for your reply(s). The link you provided does not work. Unfortunately Javascript / jquery and their debugging is beyond level of my expertise. I have tried reverting to another basic WP theme with no success. I have tried location with “” and without. I don’t think PHP is a problem. In working with other paid themes’ authors if I ever had any issues they would give me a snippet of code or CSS that would correct any issues I might have had when trying all components to work together. What does it take for you to review my site and let me know how to correct the issue? Should I buy premium support? The answer above is very generic. Thank you!
-
AuthorPosts