[WordPress] 外掛分享: Telephone Number Linker

首頁外掛目錄 › Telephone Number Linker
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
2,000+
安裝啟用
★★★★
4.6/5 分(17 則評價)
4570 天前
最後更新
問題解決
v1.2 上架:2013-02-16

內容簡介

有些行動裝置預設上可以將數字變成可點擊的連結,但不是所有裝置都有此功能。你是否希望行動裝置使用者也可以點擊電話號碼直接撥打呢?非常好!但當桌面使用者點擊時,他們通常會得到錯誤訊息,這會讓你的網站看起來很傻。此外掛可以防止此錯誤,提高桌面使用者和行動裝置使用者的使用體驗。

電話號碼連結器功能

使用最新的瀏覽器列表來檢測訪問者是否在使用行動裝置。
使用 wp_is_mobile() WordPress 功能
在這種情況下,會載入一個 jQuery 腳本來包含電話號碼的連結,或者使用短碼通過 PHP 添加 HTML。

關於作者

Stoatoffear主要是一位平面和美術家,但喜歡了解最新的網頁技術。
請瀏覽 www.gravitydesign.co.uk 以滿足網頁和平面設計需求。
請瀏覽 www.richardcalvert.com 了解美術資訊。

示範

參考此外掛在 http://www.claridgesbeautyandtanning.co.uk 的運作方式。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Telephone Number Linker」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Some mobile devices make numbers clickable by default – but not all do. You want your phone numbers to be clickable for mobile phone users don’t you? They click the number and it dials it for them! great! But when desktop users click it – they normally get an error, and that makes your site look stupid. This plugin prevents that error – improving user experience for your desktop visitors and mobile device users.
Telephone Number Linker Features
Uses up-to-date list of browsers to detect that the visitor is using a mobile device.
Alternatively uses wp_is_mobile() WordPress feature
In that case loads a jQuery script to enclose the telephone number in a link.
Or uses shortcode to add HTML via PHP
About the Author
Stoatoffear is mostly a graphic and fine artist but likes to keep up to date with web technology.
Please visit www.gravitydesign.co.uk for your web and graphic design needs.
Visit www.richardcalvert.com for fine art.
Demo
See this plugin in action at http://www.claridgesbeautyandtanning.co.uk

延伸相關外掛

文章
Filter
Mastodon