Jump to content


This topic is now archived and is closed to further replies.


Show Maps in postloop using Map shortcode from

Recommended Posts




I'm currently re-developing our company website at http://www.respectgb.com using dms. Everything is going great at the minute, however; we are wanting to display google maps to show locations of our sites within the post loop. I have got them displaying perfectly in the single post pages (http://www.respectgb.com/north-nottinghamshire-south-yorkshire/) but I cannot figure out how to make them visible in the post loop on category archives / postloop (http://www.respectgb.com/two-burial-parks/).


I am running dms v1.0.3

And the google maps plugin that I am using is: "google maps" by wpmu (http://premium.wpmudev.org/project/wordpress-google-maps-plugin/)


Any help would be greatly appreciated.


Thanks in advance.



Share this post

Link to post
Share on other sites



Category, Archives etc.. will display the excerpt of your posts. Therefore, you will want to create a custom excerpt using the Excerpt section when creating/editing your posts. In this area, add your maps code.




Then change the length of your excerpt by editing the PostLoop sections options.



Please search our forums, before posting!

Share this post

Link to post
Share on other sites

  • Similar Content

    • flourishdesignstudio
      By flourishdesignstudio+
      I am experiencing an issue that I believe is theme related where two areas on our homepage are not loading correctly, until you resize the browser window. I am currently building http://stevesaggese.com/ but on the bottom of the homepage there is a google map and a "Featured Area Photos" slideshow that are not displaying properly. For example, in EI or Firefox the map is zoomed all the way out instead of zooming in on central New York. The are beneath that is "Featured Area Photos" and the images are loading as thumbnails instead of full (half column) images. When you simple make the browser window slightly large or smaller the photos adjust to be the correct size.
      If I switch themes the issue seems to disappear and I have tried deactivating certain plugins to see if that has any effect too. Is this a JS loading issue or something else caused by the theme?
      Thanks in advance for any help you are able to provide.

    • HenryMote
      By HenryMote
      Hi guys,
      I have DMS and the maps isnt working. Here's the link to the site where you can see the error .http://plumb-now.co.uk/
      Thanks for your help!
    • MrFent
      By MrFent+
      I'd like to request the option to display the "Satellite," "Hybrid," and "Terraine" in the Maps section. 
      I was able to manually accomplish this by changing line 202 in the maps.js from:
      mapTypeId:       google.maps.MapTypeId.ROADMAP,
      mapTypeId:       'satellite',
      But it would be nice if there was a section option to do this. 
      Also, the map zoom level 18 isn't the highest zoom level that Google Maps is able to display. Could you please increase the number to at least 19? Thanks!
    • StuLeeUK
      By StuLeeUK+
      Hi, could someone point me in the right direction please as I have no idea where i might be going wrong here.
      I've added the maps section but all I get is a blank space.
      I have created an API key (assuming that was the right thing to do) but nothing I do seems to change anything, just always have an empty placeholder. With or without the API key it doesn't make any difference.
      site is www.tackandfeed.co.uk
    • PeriniNero
      By PeriniNero+
      We are building a Custom Post Type with Custom Fields and Custom Taxonomies.
      The only thing we dont understand is how to embed the Custom Fields including header tags and stuff in the Postloop (now we use a text-box below the postloop section but also SEO wise this is not best pratice).
      So we thought to copy the dms Postloop section to our child theme and rename this, to add an extra Postloop section to our theme. Is this the way?
      What exactly to adjust in those 3 files class.posts.php, section.php and style.less (at this point we know how to change the thumb LOL) and where to add the Custom Fields shortcodes?