Title: edit telephone number function
Last modified: April 23, 2020

---

# edit telephone number function

 *  Resolved [teodrago](https://wordpress.org/support/users/teodrago/)
 * (@teodrago)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/edit-telephone-number-function/)
 * Hello, I’m trying to edit the function that shows the telephone number as $adcontactphone
   so that ppl can hit and call from mobile but I can’t find where to edit it. thank
   you.
    -  This topic was modified 6 years, 1 month ago by [teodrago](https://wordpress.org/support/users/teodrago/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/edit-telephone-number-function/#post-12727679)
 * Hi [@teodrago](https://wordpress.org/support/users/teodrago/),
 * We don’t typically recommend that you modify the plugin directly, as that means
   your changes will be lost every time you upgrade the plugin for our bug fix releases
   which come about every 4 weeks.
 * It should be displaying with a link to call automatically, but it will only work
   on mobile devices. Perhaps you can elaborate a bit and show an example?
 *  Thread Starter [teodrago](https://wordpress.org/support/users/teodrago/)
 * (@teodrago)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/edit-telephone-number-function/#post-12730113)
 * Hi what I was tring to di is this:
    in Single Ad page layout `$adcontactphone`
   changing in:
 * `<a href="tel:$adcontactphone">$adcontactphone</a>`
 * but is not working because some text the the function: $adcontactphone
 * As it is atm is not clicable even in mobile devices as you said, so i was asking
   how to edit it or just if you could update that function.
 * Thank you.
    -  This reply was modified 6 years, 1 month ago by [teodrago](https://wordpress.org/support/users/teodrago/).
    -  This reply was modified 6 years, 1 month ago by [teodrago](https://wordpress.org/support/users/teodrago/).
    -  This reply was modified 6 years, 1 month ago by [teodrago](https://wordpress.org/support/users/teodrago/).
 *  Plugin Author [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * (@awpcp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/edit-telephone-number-function/#post-12730811)
 * Hi [@teodrago](https://wordpress.org/support/users/teodrago/),
 * OK, you can definitely do that–but you’ll want to use a specific field code. 
   We have all field codes documented here: [https://awpcp.com/forum/faq/valid-field-codes/](https://awpcp.com/forum/faq/valid-field-codes/)
 * The one I think you want is $contact_phone which is the RAW version.
 * Try that and let me know if you run into more issues.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘edit telephone number function’ is closed to new replies.

 * ![](https://ps.w.org/another-wordpress-classifieds-plugin/assets/icon-256x256.
   png?rev=2944356)
 * [AWP Classifieds](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/another-wordpress-classifieds-plugin/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [AWP Classifieds Team](https://wordpress.org/support/users/awpcp/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/edit-telephone-number-function/#post-12730811)
 * Status: resolved