Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor cborodescu

    (@cborodescu)

    Hi @cristiandvd,

    Thanks for reaching out. Yes, it would seem there’s an issue with HTMLPurifier library. We’re currently working on a fix and will let you know these days what are the files that you need to replace.

    Appreciate your patience with this!

    Thread Starter cristiandvd

    (@cristiandvd)

    Thank you.
    Cristian

    Anonymous User 13868920

    (@anonymized-13868920)

    Hi Cristian,

    We made a patch for the 2.1.1 version. Please download the archive again and reinstall it.

    The format of the links should be something like this:

    1 (412) 357-2016

    Let me know if it works now.

    Thread Starter cristiandvd

    (@cristiandvd)

    Hello. I have to customize the site again ?

    Anonymous User 13868920

    (@anonymized-13868920)

    Hi Cristian,

    Changes done from the plugin admin area will not be affected if you replace the files (without disabling the plugin).

    However, if you have already made changes to the plugin files, you can recopy only the following files that were changed in the update:

    – core/class-admin.php
    – export/export-class.php
    – libs/htmlpurifier-4.6.0/library/HTMLPurifier.safe-includes.php
    – libs/htmlpurifier-4.6.0/library/HTMLPurifier/URIScheme/callto.php
    – libs/htmlpurifier-4.6.0/library/HTMLPurifier/URIScheme/tel.php
    – themes/base/template.php
    – themes/premium/template_250.php
    – themes/premium/template_260.php

    I suggest making a backup of the plugin files first, it’s always a good idea to backup first.

    @anghelalexandra I ran into the same problem where the numbers are not opening up in the phones dialer. I just updated all of the files you listed to no avail. Also, the callto.php and the tel.php files were never in there to begin with. I am running 2.1.1. Do I need to deactivate and activate the plugin again?

    Update: I de-activated and then re-activated the plugin and applied the link. It still did not work. And the files I used to replace the others were downloaded today.

    Update 2: I found a WordPress plugin that allows you to use customized HTML tags around your phone numbers to link them for mobile. When you click the number it will successfully ask if you want to call the number.

    Plugin is called “Telephone Number Linker”. Once installed and activated, put the following code around wherever your phone numbers are (assuming it’s HTML):
    `[telnumlink “12345678900”]1-234-567-8900[/telnumlink]

    Anonymous User 13868920

    (@anonymized-13868920)

    @naterr
    Deactivating & reactivating the plugin won’t update the files. It’s true that the callto.php and tel.php files were not previously in the archive, in fact they are filters that we have added in order to support callto links.

    Btw, are you using a “+” in front of the phone number from the href attribute?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Phone number clickable link on smartphones’ is closed to new replies.