Poi not centering on Screen

Home Forums MapPress Support Poi not centering on Screen

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14345
    karenratte
    Participant

    I have a mashup map that is showing the poilist at the bottom. I have it setup to go to the Poi, (the excerpt on the map) when the item on the list is clicked, rather than take them to the post. The problem is that the map is large and sometimes the popup is above the screen and one does not know that anything popped up at all. Do I need to change the poilist to take them to the post rather than the popup poi excerpt? Make sense? thanks

    #14446
    karenratte
    Participant

    Can I set the poilist to take them to the article and set the map poi’s to popup with the excerpt? no comments?

    #14447
    Chris
    Keymaster

    I’m not sure I understood. If you want to show a link in the POI list directly to the underlying post then you can modify the poi list template. Use the function get_title_link().

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

    With:
    <?php echo $poi->get_title_link(); ?>

    If you need to manipulate the link then you can use the WordPress get_permalink() function instead:
    http://codex.wordpress.org/Function_Reference/get_permalink

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