This is a community support forum where you can ask questions and interact with other PremiumPress Customers.
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 = http://directory.baldivis.com . Thanks.
Clickable numbers need a link to be set to :tel:
we dont have any option this in our theme and also if the user enters them without a country or local prefix, the number wouldnt work either thus making it more annoying for the user
Thanks for your reply.
I see in the Custom field options we have a drop down choice for Text Fields etc, would it be possible to include Phone number, URL’s etc into this drop down in the future ?
urls and numbers are not field types, they are content types. Ill see about setting up an option for this in a later release.
for now ill include into 3.7 that keys with the value “phone” or “phonenumber” will be linked to “tel:” for you
url is already set to a link.
Your the man
Thank you, and awesome product by the way.
Sorry Mark, to clarify , I’m using DP 7.1.4 so not sure what 3.7 is all about – I’m a newbe
oh sorry, my fault, iv added it to the new responsive version, it wont work in DP since the mobile interface is different.
But I just tested it and it is working ? All numbers are now clickable.
lol in directorypress?
must be magic! iv not updated any DP themes only the responsive framework.
Yip, its working on my mobile phone, all listings phone numbers are clickable.
log on to directory.baldivis.com with your mobile and see for yourself – Don’t touch anything
get the latest version of directory theme.
mark added option to have tel: in the phone custom field
lol i didnt read the part where he said he added it to responsive only.
so you need to go to class_design.php file and add the option to say
if custom field == ‘phone’
and so on. copy the skype IF statement and paste and change to work for the custom field phone