Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1007920
    glkatz81
    Participant

    Hi. I wanted to put in the title topic that I did come across this post:

    https://community.theme.co/forums/topic/having-my-creative-cta-link-to-a-telephone-number/

    I followed the steps to insert this script:

    jQuery(“.home .x-creative-cta .graphic img”).wrap(“1234567890“)

    on this page of my website:

    http://katznerlawgroup.com/estate-planning/#

    I also tried (as I’m not a coder) to change .home to .estate-planning, the title of the page I wanted to have the CTA clickable on, but it didn’t work. I thought maybe I could get lucky and solve the problem myself – I try to use the support center as a last resort as I do enjoy learning this stuff.

    If someone could teach me how to make my Creative CTA clickable to 646.736.7539 I would really appreciate.

    Thank you.

    Gabe

    #1007947
    Joao
    Moderator

    Hi Gabe

    Please add this code to your Appereance / Customizer / Custom / Javascript

    jQuery(".home .x-creative-cta .graphic img").wrap("<a href='tel:+6467367539'>1234567890</a>")

    Than on your Creative CTA Element Link

    Please add this: tel:+6467367539

    Pleae see img attached:

    Hope that helps,

    Joao

    #1008251
    glkatz81
    Participant

    Hi. For some reason the number it tries to dial is:

    +64 6 736 7539 (so, New Zealand with a space between +64 and the 6 and not US w/area code 646). I’ve tried a few things (such as adding a “1” before, etc.) but can’t get it to call 646 area code.

    Thank you for your help and apologies to bug you again as I have a feeling it’s an easy fix.

    Gabe

    #1008493
    Rupok
    Member

    Hi Gabe,

    I am not sure is there any issue with space between number. However you can specify your own number.

    Thanks

    #1008769
    glkatz81
    Participant

    Hi. Unfortunately whatever I do re the number, and trust me I have tried every way to tweak its spacing, etc. it still comes out the same way and tries to dial a New Zealand phone number with a +64 area code instead of a +646 USA area code.

    Are you able to login to my site and take a look? I’m crazy, but not crazy on this and I know I’m following your code instructions. Apologies for the inconvenience and I appreciate the help very much.

    #1008909
    Joao
    Moderator

    Hi There,

    There is a few suggestions on this link

    http://stackoverflow.com/questions/1608548/how-to-trigger-a-phone-call-when-clicking-a-link-in-a-web-page-on-mobile-phone

    Hope that helps,

    I am sure you can find a solution by researching on the internet a bit, I am not from the US so I am not 100% sure how the telephone system works there, but I am sure there is a solution that can be found that might not take long to be found with a bit of research and testing.

    Good Luck and let us know how it goes.

    Thanks,

    Joao

    #1009114
    glkatz81
    Participant

    Hi. I’ve done a ton of research and testing. If you see my first post you’ll notice that I’m not someone that just posted without trying to find answer in forums / online myself. I got close via previous forum answers but not quite there. The US Country code is +1. The area code within the US I’m in is 646.

    No matter what I try, and I’ve tried a lot, I can’t get the number to dial a 646 US area code as opposed to a +64 New Zealand code.

    I speak highly of your product to everyone, and the few times I’ve reached out for assistance I’ve been helped very well, so I would appreciate not being simply directed to look elsewhere on the internet.

    Thanks you very much. Truly appreciated.

    #1009124
    glkatz81
    Participant

    I fixed it. In case someone comes across this tread in the US everything was ok other than:

    Than on your Creative CTA Element Link

    Please add this: tel:+6467367539

    The tel number needs to be –> tel:+16467367539.

    Obviously tweak it for your own phone number, but it needs the 1 at the beginning.

    Thank you for your help again. Appreciated.

    Gabe

    #1009155
    Rahul
    Moderator

    You’re most welcome. Let us know if you need any more help from us.

    Thanks

  • <script> jQuery(function($){ $("#no-reply-1007920 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>