• 0

Show Maps in postloop using Map shortcode from


Question

Posted · Report post

Hi,

 

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.

 

Luke

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

Hi,

 

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.

 

http://cl.ly/image/2Q1d063b0g2c

 

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

 

http://cl.ly/image/2f43363o0K34

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now