WordPress.org

Ready to get started?Download WordPress

Forums

Basic Google Maps Placemarks
Add link to single template in map (3 posts)

  1. jluisfg
    Member
    Posted 1 year ago #

    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!

  2. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

  3. skypenguin
    Member
    Posted 12 months ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic