GeoDirectory SupportMap – GeoDirectory Support https://wpgeodirectory.com/support/topic/map-3/feed Wed, 18 Feb 2026 00:49:22 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/map-3/#post-34894 <![CDATA[Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34894 Mon, 23 Mar 2015 10:50:32 +0000 Scott Macdonald hi there would I be able to use the map and link the icons to other web pages other than the standard ones it produces

here is a site I have http://www.hutsandcabins.co.uk

and I want to produce this type of idea

http://www.wigwamholidays.com/Wigwam_Site_Locations

thanbks

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34899 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34899 Mon, 23 Mar 2015 12:17:35 +0000 Simone Hi Scott, not sure I get you, do you want to redirect to another website when clicking on the pin in the map rather than going in the “detail” page?

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34903 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34903 Mon, 23 Mar 2015 12:38:22 +0000 Scott Macdonald hi sorry what i am trying to say is yes click on the pin on the map or the link on the pop up and it can take you too any page on the same site

can you choose where the it can link to ?

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34914 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34914 Mon, 23 Mar 2015 14:07:53 +0000 Simone What you could do is to add a custom field with a link, and then add a function in that infomap window. Ive spoke with Stiofan and he’s going to add a new action in order to do that.

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34916 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34916 Mon, 23 Mar 2015 14:10:12 +0000 Stiofan O'Connor Hi Scott,

This depends on exactly what you want to do, there is a filter there for the html output “geodir_custom_infowindow_html” and i have just added an action for after the meta info, which will be in the next release “geodir_infowindow_meta_after” which could both help.

Thanks,

Stiofan

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34918 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34918 Mon, 23 Mar 2015 14:26:55 +0000 Scott Macdonald brilliant thanks I think your plugin could be great for my website http://www.hutsandcabins.co.uk

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34919 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34919 Mon, 23 Mar 2015 14:31:21 +0000 Stiofan O'Connor Looks perfect for it, and also i’m Scottish 🙂

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34920 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34920 Mon, 23 Mar 2015 14:32:47 +0000 Scott Macdonald cool I’ll give it a go then 🙂

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34931 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34931 Mon, 23 Mar 2015 16:03:52 +0000 Scott Macdonald I’m not seeing how to add a custom link sorry

and where is the filter for the html output “geodir_custom_infowindow_html” ?

thanks

scott

]]>
https://wpgeodirectory.com/support/topic/map-3/#post-34942 <![CDATA[Reply To: Map]]> https://wpgeodirectory.com/support/topic/map-3/#post-34942 Mon, 23 Mar 2015 17:11:12 +0000 Stiofan O'Connor It would be harder to add it with the filter, you would have to do a strip replace for positioning. The new hook once released will allow you to add a link like the following example (would be added to your child theme functions.php)


add_action('geodir_infowindow_meta_after','my_custom_link_in_infowindow',10,2);
function my_custom_link_in_infowindow($post_obj,$preview){

echo "<a href='#'>MY LINK</a>';
}

Thanks,

Stiofan

]]>