GeoDirectory SupportLink to Post from Map Bubble / InfoWindow – GeoDirectory Support https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/feed Mon, 09 Feb 2026 14:47:31 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50334 <![CDATA[Link to Post from Map Bubble / InfoWindow]]> https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50334 Fri, 21 Aug 2015 20:07:42 +0000 Wayne Harvey Hi there
I want to be able to put a “Read more…” or something similar within the map marker bubble. Is there an easy way to do this. I’m aware that the post title already links to the post but I’m wanting to be sure that users know that there’s more.
Thanks

]]>
https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50346 <![CDATA[Reply To: Link to Post from Map Bubble / InfoWindow]]> https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50346 Fri, 21 Aug 2015 22:55:10 +0000 Paolo The map info window has just been rebuilt, so I’m not sure if hooks have changed. I’ll ask to Stiofan to let us know,

Thanks

]]>
https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50365 <![CDATA[Reply To: Link to Post from Map Bubble / InfoWindow]]> https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50365 Sat, 22 Aug 2015 10:07:23 +0000 Stiofan O'Connor Hi Wayne,

I think the hook you want could be

do_action('geodir_infowindow_meta_after',$postinfo_obj,$post_preview );

So something like:


add_action('geodir_infowindow_meta_after','my_theme_add_infowindow_meta',10,2);

function my_theme_add_infowindow_meta($postinfo_obj,$post_preview ){
echo "<a href='#'>Read More...</a>";
}

Thanks,

Stiofan

]]>
https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50920 <![CDATA[Reply To: Link to Post from Map Bubble / InfoWindow]]> https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50920 Wed, 26 Aug 2015 15:10:35 +0000 Wayne Harvey Hi Stofan,
Thanks for your help. The code provided puts a blank or null link in the infowindow but it does not link to the post. Any more ideas? Thanks.
Wayne

]]>
https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50943 <![CDATA[Reply To: Link to Post from Map Bubble / InfoWindow]]> https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50943 Wed, 26 Aug 2015 18:58:13 +0000 Paolo please change this part :

echo "<a href='#'>Read More...</a>";

with:

echo "<a href=' ".get_the_permalink()." '>Read More...</a>";

Thank you

]]>
https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50947 <![CDATA[Reply To: Link to Post from Map Bubble / InfoWindow]]> https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50947 Wed, 26 Aug 2015 19:05:03 +0000 Wayne Harvey Works beautifully, many thanks. Wayne

]]>
https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50948 <![CDATA[Reply To: Link to Post from Map Bubble / InfoWindow]]> https://wpgeodirectory.com/support/topic/link-to-post-from-map-bubble-infowindow/#post-50948 Wed, 26 Aug 2015 19:11:11 +0000 Paolo You are welcome! 🙂

]]>