Simple Travel Map always place map above all content
-
Simple Travel Map is one great plugin, thanks to plugin author.
One little thing though, it always outputs the map to the very top of the content (tested with WordPress default TwentySixteen theme).
This function
simple_travel_map_shortcode()
at Line#224 could need a little fix
https://plugins.trac.www.ads-software.com/browser/simple-travel-map/tags/0.10/simple-travel-map.php#L224At the very end of it, change this part
</script> <div id="chart_div"<?php echo $html_style; ?>></div> <?php return $content; }
To this
</script> <?php $mytravelmap = '<div id="chart_div"' . $html_style . '></div>'; return $mytravelmap; }
It fixed this problem which also posted a year ago by @pjoneill1
https://www.ads-software.com/support/topic/map-appearing-above-all-content
- The topic ‘Simple Travel Map always place map above all content’ is closed to new replies.