POILIST different than POI Info Window

Home Forums MapPress Support POILIST different than POI Info Window

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13552
    karenratte
    Participant

    I would like the POILIST to go to the post and the MAP SPOT POI to open the INFO Window and then have the link title of the info window take them to the post. Is that possible or are they inextricably linked? thanks

    #13558
    Chris
    Keymaster

    Hi,

    You can have the marker open an infowindow, and have its title link open the poi, using the plugin settings.

    To link the poi list directly to the post, you can modify the poi_list.php template. Replace:

    <?php echo $poi->get_open_link(); ?>

    With:

    <?php echo "<a href='" . get_permalink($poi->postid) . "'>" . $poi->title . "</a>";

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.