WordPress.org

Support

Support » Plugins and Hacks » Add link to single template in map

Add link to single template in map

  • Hello,

    http://wordpress.org/plugins/basic-google-maps-placemarks/

    Awesome plugin! I´found it very easy to use and customize.

    However I´m struggling with getting a link in the info bubble on the map. On line 212 of the function.js file I found the string with info inside the bubble. I added a link in there:

    infoWindowContent = '<div class="'+ $.bgmp.prefix + 'placemark"> <h3>'+ title +'</h3> <div>'+ details +' <a href="i want the permalnk here">details</a></div> </div>';

    How can I add the permalink in here?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ian Dunn

    @iandunn

    I also had this question. I think he is looking for an automatic permalink back to the

    placemarks/5th-ring-coffee-house/

    The placemark page is an orphan by default (except for the info displayed on the map) I would like to have a link to its placemarks page so people can leave comments on the location, and so I can have pictures which dont necessarily need to be shown on the map.

    This could be especially helpful in the [bgmp-list] view. Is there a way to make the title of the placemark “5th Ring Coffee House” automatically link to

    placemarks/5th-ring-coffee-house/

    Thanks for making this excellent plugin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add link to single template in map’ is closed to new replies.