這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Contact Form 7 Phone Module

描述

Add Telephone Field to Contact Form 7

This plugin adds telephone field to Contact Form 7 along with masking options.

Please notice that Contact Form 7 must be installed and active.

Masking options are accessible via tag generator panel.

螢幕截圖

  • screenshot-1.png

安裝

  1. Upload plugin files to your plugins folder, or install using WordPress’ built-in Add New Plugin installer
  2. Activate the plugin
  3. Edit a form in Contact Form 7
  4. Use [phone your-phone mask:(999)999-9999] or [phone* your-phone mask:(999)999-9999] to add a telephone field
  5. Use [your-phone] at mail to get the content of telephone field
  6. Notice that if you add more than one phone field, only the last masking options would be effective

常見問題

What is the plugin license?
  • This plugin is released under a GPL license.
How many phone masks is possible to have?
  • Even thought one can set several phone fields with different masks, only the last mask will be used.
What is the alternate mask?
  • In Brazil, mobile telephone numbers for So Paulo have 9 digits instead 8 digits as the rest of the country, so this is an option to have more than one mask depending of the area code.

評價

2016年9月3日
Using latest Wordpress as of May 5th 2016, and it does NOT work. If you're going to install this plugin, you might as well contribute with those 1-stars. Until this gets updated and more support, I'm gonna tell everyone to stay away this. Time to find a real solution.
閱讀全部8個評價

貢獻者及開發者

“Contact Form 7 Phone Module” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Contact Form 7 Phone Module 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.3.4.1

  • Added ‘wpcf7-form-control’ to phone class as reported by https://wordpress.org/support/profile/bdeleasa

2.3.4

  • Fixed fatal error: “Fatal error: Call to undefined function wpcf7_add_tag_generator()”

2.0.1

  • Fixed issue where [phone*] made all subsequent fields be treated as required. (Thanks to insertcoinforjoy for reporting it.)

2.0

  • Added a tag generator panel where users can select their mask. Default mask now is (999)999-9999

1.0.4

  • Fixed missing code for validation, all users that use validation must upgrade. (Thanks to biswajeet for reporting it.)

1.0.3.1

  • Fixed wrong path to js, all users must upgrade.

1.0.3

  • Improved initialization, thus removing need of test and error messages.

1.0.2

  • Fixed displaying of error message and behaviour after error if Contact Form 7 is not present and active.

1.0.1

  • Added a test to check if Contact Form 7 plugin is active.

1.0

  • Initial plugin release.