[WordPress] 外掛分享: International Telephone Input for Contact Form 7

WordPress 外掛 International Telephone Input for Contact Form 7 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「International Telephone Input for Contact Form 7」是 2015-12-23 上架。
  • 目前有 9000 個安裝啟用數。
  • 上一次更新是 2022-02-21,距離現在已有 1167 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 有 26 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

damiarita | yordansoares |

外掛標籤

country code | contact form 7 | telephone flags input | international phone input | cf7 international phone input |

內容簡介

這是一個 Contact Form 7 的外掛,新增了一個輸入欄位,可以用於輸入和驗證國際電話號碼。此外掛會加入一個帶有電話號碼前綴的旗幟下拉式選單,偵測使用者所在國家,顯示相對應的預設文字、提供格式化和驗證方法。

使用方法

安裝和啟用外掛後,一個新的輸入欄位類型將會出現在 Contact Form 7 表單中。要將其新增到您的表單中,您可以點擊表單編輯器上方的「國際電話」按鈕,或是添加類似這樣的短碼:[intl_tel* {your-phone}],取代 {your-phone} 為您所需的欄位名稱。可選擇性地,您可以使用星號(*)使欄位成為必填欄位。

要在郵件中顯示欄位內容,請使用此標籤:[{your-phone}]。顯示出來的結果將類似 +12025550109。

郵件中的額外資訊

您還可以從電話號碼中恢復特定的部分:所屬國家的名稱、國家代碼、沒有國碼的號碼。使用這些標籤:

[{your-phone}-cf7it-country-name]:印出所屬的國家名稱。例如:美國
[{your-phone}-cf7it-country-code]:印出電話號碼所屬國家的代碼。例如:1
[{your-phone}-cf7it-country-iso2]:印出國家的 ISO 代碼。例如:us
[{your-phone}-cf7it-national]:印出沒有國際區碼的電話號碼。例如:2025550109

第三方軟體

這個外掛使用了 International Telephone Input JavaScript 函式庫和 eXTReMe-IP-LOOKUP.com API。

原文外掛簡介

Addon for Contact Form 7 that creates a new type of input for entering and validating international telephone numbers. It adds a flag dropdown with prefix of the telephone number, detects the user’s country, displays a relevant placeholder and provides formatting/validation methods.
How to use
Once you have installed and activated your plugin, a new type of input field will be available in your Contact Form 7 forms. In order to add it to your form, you can either click on the “International Telephone” button above your form editor, or add the shortcode like: [intl_tel* {your-phone}]. Replace {your-phone} by the name do you want to give the field. Optionally, you can use the asterisk (*) to makes the field required.
To display the field’s info on your email, use this tag: [{your-phone}]. It will display something like +12025550109
Aditional info in your email
You can also recover specific parts of the telephone number: the name of the country it refers to, the country code, the number without the country code. Use this tags:

[{your-phone}-cf7it-country-name]: It prints the name of the country. For the example above: United States
[{your-phone}-cf7it-country-code]: It prints the country code of the phone number. For the example above: 1
[{your-phone}-cf7it-country-iso2]: It prints the country iso code. For the example above: us
[{your-phone}-cf7it-national]: It prints the phone number without international prefix. For the example above: 2025550109

Third-party software
This plugin uses the International Telephone Input JavaScript library and the eXTReMe-IP-LOOKUP.com API.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「International Telephone Input for Contact Form 7」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.1.0 | 1.2.0 | 1.3.0 | 1.4.0 | 1.4.2 | 1.4.4 | 1.4.5 | 1.4.6 | 1.5.0 | 1.5.1 | 1.5.2 | 1.5.3 | 1.5.4 | 1.5.5 | 1.5.6 | 1.5.7 | trunk |

延伸相關外掛(你可能也想知道)

  • Country Code For Elementor Form Telephone Field 》**外掛介紹總結:**, , 透過 Country Code For Elementor Form Telephone Field 外掛來增強您的 Elementor 表單!這款重要的附加元件通過無縫整合國家代碼選...。
  • Startklar Elementor Addons 》此外掛可在 Elementor-PRO 表單生成器中新增兩個小工具。, – 電話國碼 – 根據國家選擇電話字首, – 拖放上傳 – 拖放多個文件上傳欄位...。
  • User IP and Location 》如果您希望在 WordPress 網站上顯示公開可用的資訊,例如訪客的 IP 位置、瀏覽器詳細資訊、作業系統等,「User IP and Location」是一個非常優秀的外掛程式。...。
  • Show Visitor IP 》這個外掛能夠簡單地在文章或頁面上,或者任何使用 shortcode 的地方,顯示訪客的 IP 地址和位置資訊,使用的是訪客的 IP。, 安裝過程非常簡單,易於使用,且...。
  • Country Code Drop Down For CF7 》這是一個 Contact Form 7 的外掛,可新增一種包含國旗及區碼的輸入欄位類型。它會自動偵測使用者所在的國家。, 如何使用, 安裝和啟用此外掛後,您的 Contact ...。
  • International Telephone Field For Elementor Form 》總結:, Elementor Forms International Phone Input 外掛是一個不可或缺的工具,為您的表單提供了一個專門用於國際電話號碼的欄位,讓用戶以正確的格式輸入...。
  • Show IP Info 》這個外掛會從 HTTP 標頭取得訪客的 IP 位置,然後從 “”https://ipdevops.com/api/remip/” 取得有關該 IP 位置更多的訊息,例如語言、貨幣...。

文章
Filter
Apply Filters
Mastodon