GeoDirectory SupportClick to Call Phone Numbers – GeoDirectory Support https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/feed Sat, 13 Dec 2025 19:29:53 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21213 <![CDATA[Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21213 Wed, 12 Nov 2014 00:45:51 +0000 Kenny Eliason Any quick fixes to enable a hyperlink wrap on the phone number so that you can click to dial? Looking for something like:

<a href="tel:18005643148">800-564-3148</a>
]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21217 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21217 Wed, 12 Nov 2014 00:56:25 +0000 thebirdiemachine There is an Addon in Theme Tailors that might do what you want.

http://simone.themetailors.com/tt/portfolio/gd-click-to-call/

]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21218 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21218 Wed, 12 Nov 2014 00:59:24 +0000 Guust The birdie took the words right out of my mouth …

]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21355 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21355 Thu, 13 Nov 2014 00:56:01 +0000 Kenny Eliason $9 bucks down the drain… This is an additional widget, I just want to turn the current phone number into a clickable number. Any ideas?

Thanks!

]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21389 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21389 Thu, 13 Nov 2014 13:24:11 +0000 Simone Hello, go to: wp-content/plugins/geodirectory/geodirectory-functions and open the file custom_fields_functions.php

find this block around row 1950:


$html = '<div class="geodir_more_info '.$geodir_odd_even.' '.$type['css_class'].' '.$type['htmlvar_name'].'" style="clear:both;"><span class="geodir-i-contact" style="'.$field_icon.'">'.$field_icon_af.
							$html .= (trim($type['site_title'])) ? __($type['site_title'],GEODIRECTORY_TEXTDOMAIN).': ' : '&nbsp;';
							$html .= '</span>'.stripslashes($post->$type['htmlvar_name']).'</div>';

and replace with:


$html = '<div class="geodir_more_info '.$geodir_odd_even.' '.$type['css_class'].' '.$type['htmlvar_name'].'" style="clear:both;"><span class="geodir-i-contact" style="'.$field_icon.'">'.$field_icon_af.
							$html .= (trim($type['site_title'])) ? __($type['site_title'],GEODIRECTORY_TEXTDOMAIN).': ' : '&nbsp;';
							$html .= '</span><a href="tel:'.$post->$type['htmlvar_name'].'">'.stripslashes($post->$type['htmlvar_name']).'</a></div>';

Ps- I’m the author of the GD CLICK TO CALL widget 😛

]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21492 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-21492 Fri, 14 Nov 2014 09:25:39 +0000 Kenny Eliason Thanks Simone! Just what I was needing! And I’m sure the plugin is great for a lot of people, I was just bummed it was a suggestion to fix my need when really it didn’t fix my need… know what I mean?

Anywho, thanks again!

]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-28375 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-28375 Wed, 21 Jan 2015 20:45:59 +0000 ray-ramon-r Click to call, I lost the widget code on the last update, why would it be? how do I re-install it?

Thank you

]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-28378 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-28378 Wed, 21 Jan 2015 20:48:55 +0000 Simone Hi, the same you did the first time, replacing that code in the custom_fields_functions.php file.
I will try to add a function so it will be persistent, the previous solution was rough and not a good idea.

]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-28385 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-28385 Wed, 21 Jan 2015 20:58:40 +0000 ray-ramon-r You actually did it for me Simone, that’s why I asked.

]]>
https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-28394 <![CDATA[Reply To: Click to Call Phone Numbers]]> https://wpgeodirectory.com/support/topic/click-to-call-phone-numbers/#post-28394 Wed, 21 Jan 2015 21:35:59 +0000 Simone I can re-do this for you but…the “old” solution is not advisable.

I’ll call Stiofan and ask for help, I’ve been struggling with the code and can’t make a function ;(

]]>