daily pastebin goal

[WordPress] Store Locator Plus: Support for phone link

urosevic Mar 5th, 2015 (edited) 252 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Read more at http://urosevic.net/wordpress/tips/store-locator-plus-make-phone-number-clickable/
  2. // Add this to file /wp-content/plugins/store-locator-le/js/slp.js
  3. // on line 1223, above line: case 'fullspan'
  4. // and use `tel wrapper` in Bubble syntax
  5. case 'tel':
  6.     prefix = '<a href="tel:';
  7.     suffix = '" id="slp_marker_phone" class="storelocatorlink">';
  8.     break;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand