OK, I installed the Clean Retina theme and the Google Maps GPX Viewer, I created a post with a Google maps page, and this is how I got the maps to display on excerpts. This may or may not be too much trouble for you; I don’t know how skilled a coder you are, it took me about 20 minutes to put together.
1) Create a child theme of Clear Retina.
This is because the plugin’s code libraries are only included when the shortcode is inserted in a post or page. When it’s not used, the libraries don’t get included. For the child theme, I created a style.css file (which only imports in the style.css file from the parent theme, Clear Retina) and I copied over the header.php file.
In the child theme’s copy of header.php, I copied in these libraries for the viewer just before the closing /head tag:
<!-- start google maps gpx plugin api loader -->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("maps", "3", {other_params:"sensor=false&libraries=places,panoramio"});</script>
<script type="text/javascript" src="/wp-content/plugins/google-maps-gpx-viewer/js/gmap_v3_size.js"></script>
<script type="text/javascript" src="/wp-content/plugins/google-maps-gpx-viewer/js/gmap_v3_gpx_overlay.js"></script>
<script type="text/javascript" src="/wp-content/plugins/google-maps-gpx-viewer/js/gmap_v3_wms_overlay.js"></script>
<script type="text/javascript" src="/wp-content/plugins/google-maps-gpx-viewer/js/gmap_v3_init.js"></script>
<script type="text/javascript" src="/wp-content/plugins/google-maps-gpx-viewer/editor/gmap_v3_edit.js"></script>
<link rel="stylesheet" href="/wp-content/plugins/google-maps-gpx-viewer/editor/editor.css" type="text/css" />
<link rel="stylesheet" href="/wp-content/plugins/google-maps-gpx-viewer/css/gmap_v3.css" type="text/css" />
<!-- end google maps gpx plugin api loader -->
<script type="text/javascript" id="script">google.load('visualization', '1', {packages: ['corechart']});</script>
<script type="text/javascript" src="/wp-content/plugins/google-maps-gpx-viewer/js/gmap_v3_elevation.js"></script>
Once you’ve created your child theme, activate it.
2) View the source of the post which contains your map.
The idea is to copy the HTML that was created by the shortcode and put it into your excerpt instead of the shortcode itself. You want to copy the code starting with the DIV with an ID of holder_map_x and continuing through until the closing script tag. You have to make sure to delete any blank lines inside the script tags, or lines with closing paragraph (/p) tags. This is what the code looks like that I copied into my excerpt field (I used a pastebin instead of copying into this post since there was so much code).
That’s pretty much it. It sounds a bit complicated, but it’s not too bad, unless you have a lot of excerpts that you need to create.
Am I right in saying that I need to delete this one and create a new one in the correct category?
You do not need to delete this thread. Go here, scroll down to the bottom of the page, and enter your question there.