Support » Plugin: Business Profile » Very nice and clean plugin

  • You might want to consider adding a href=”tel link for the phone number in the template. This would allow click to call on mobile.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author NateWr


    Thanks for the review mdorchain. Several desktop browsers can’t handle “tel” links properly, and will open error pages when one is clicked. For that reason, and because the majority of mobile browsers are good at automatically detecting well-formatted phone numbers, I’ve decided not to link up the phone number.

    On most of the modern browsers, it seems to work fine.
    But you are probably right though, I haven’t found yet any reliable information about the tel link support.

    Plugin Author NateWr


    If I recall, it was Safari and older versions of Firefox and IE that didn’t handle it well. And they didn’t just “do nothing”, but actually loaded big scary error pages that would make users think your site is broken.

    On my own sites, depending on the targeted users, I might make a different choice. But for a product which could be used on lots of different sites I have to play it safe.

    If you’re a developer and want to change the output, you can hook into the bpwfwp_component_callbacks filter and change the callback used to print the phone markup. Just write your own function to print it with the tel: prefix. You can see how I did this as part of an extension for someone else.

    Thanks NateWr for the explanation. This is exactly what I thought of doing 🙂

    I really love the fact you built it this way.
    Most people may not see it, but this is really a plugin easily extendable, one of the reasons for my positive review.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Very nice and clean plugin’ is closed to new replies.