Andre

Clickable Phone Number

Hi, I have created a Custom field in DP listing form for a Phone Number. It shoes on the Mobile Version of the listing but is not clickable so the user can call direct. Please advise how I could make this clickable. Site = https://directory.baldivis.com . Thanks.

Created: July 23, 2013 at 12:18 am
  • In: DirectoryPress
  • Started by: AndreAndre
  • 5 members left 23 comments
  • Last reply from: JoelJoel

  • Mark Fail
    Mark Fail
    July 24, 2013 at 10:26 am

    try re-posting.


  • Anonymous
    July 24, 2013 at 10:30 am

    add this with the other elseif statements
    elseif($field['key'] == "phone"){
    $STRING .= "< a href='tel:".$;'>" . $value ."</ a>";
    }

    where phone is the custom field you create in customfield section


  • Anonymous
    July 24, 2013 at 10:32 am

    seems the same issue as with last forum.

    it doesnt like the A tag

    in this case i made a space between the < and a
    as well as the closing tag </ and a

  • Mark Fail
    Mark Fail
    July 24, 2013 at 10:38 am

    did u use the toolbar code option not the text edit code option?

    [code title=””]toolbar…[/code]


  • Anonymous
    July 24, 2013 at 11:11 am

    ye it put < code > around the code but still doesnt help

  • Mark Fail
    Mark Fail
    July 24, 2013 at 11:13 am

    silly forum

  • Vasily
    Vasily
    July 30, 2013 at 4:10 am

    Easy way : install plugin Telephone Number Linker from
    This plugin allows you to turn a phone number on your site into a link that only appears clickable for mobile phone users. This means mobile device users can click the number to call it, but desktop users won’t see it as a link – so won’t be taken to an error screen that they would normally when clicking on a phone number link. Some iOS and Android devices make numbers clickable by default – but not all do. If your client calls saying her ancient phone won’t call a number on his site when she clicks on it this is the plugin for you.

  • Joel
    Joel
    June 13, 2014 at 2:05 am

    Vasily & Andre,

    I have this same problem. Tried the plugin but its not working. How did you get this to work?

    you can preview my problem at


Viewing 9 posts - 16 through 24 (of 24 total)