[Plugin: Events Manager] [PATCH] Map doesn't load on edit event pages
-
The location map doesn’t show on front-end edit event page nor the wp-admin edit event page on loading the page. When loading the edit location page the map is displayed immediate upon loading the page.
The fix was to move in the template file forms/event/location.php lines 25-28, which were
<div id="location_coordinates" style='display: none;'> <input id='location-latitude' name='location_latitude' type='text' value='<?php echo $EM_Location->location_latitude; ?>' size='15' /> <input id='location-longitude' name='location_longitude' type='text' value='<?php echo $EM_Location->location_longitude; ?>' size='15' /> </div>and place them before the last closing
</div>, just like in forms/location/where.php:<br style="clear:both;" /> <div id="location_coordinates" style='display: none;'> <input id='location-latitude' name='location_latitude' type='text' value='<?php echo $EM_Location->location_latitude; ?>' size='15' /> <input id='location-longitude' name='location_longitude' type='text' value='<?php echo $EM_Location->location_longitude; ?>' size='15' /> </div> </div>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘[Plugin: Events Manager] [PATCH] Map doesn't load on edit event pages’ is closed to new replies.