外掛說明
Contact Form 7 可管理多份聯絡表單,也能透過簡單的標記靈活地自訂表單及郵件內容。表單支援 AJAX 傳送方式、CAPTCHA、Akismet 垃圾留言篩選等功能。
線上說明文件及技術支援
你可以在 contactform7.com 上找到線上說明文件、常見問題集及 Contact Form 7 的詳細資訊。如果無法在常見問答集或線上說明文件中找到答案,請前往 WordPress.org 上的 Contact Form 7 技術支援論壇尋求協助。如果找不到相關主題,請建立新主題進行提問。
Contact Form 7 需要各位的支持
沒有各位樂於貢獻的使用者,很難繼續開發及支援這個免費外掛。如果你使用 Contact Form 7 並覺得它對你的網站有所幫助,請考慮贊助 Contact Form 7。贊助款項將有助於鼓勵、支援外掛的後續開發並提供更好的使用者技術支援。
隱私權注意事項
依照預設設定,這個外掛及其程式碼並不會進行以下行為:
- 以匿蹤方式追蹤使用者。
- 將任何形式的使用者個人資料寫入安裝外掛的網站的資料庫。
- 將任何資料傳送至安裝外掛的網站之外的外部伺服器。
- 使用 Cookie。
如果網站管理員啟用了外掛的某些功能,送出表單的使用者包含 IP 位址在內的個人資料,便有可能傳送至服務提供商,建議網站管理員先確認服務提供商的隱私權政策。這些功能如下:
- Google 提供的 reCAPTCHA 驗證碼服務
- Automattic 提供的 Akismet 阻擋垃圾留言服務
- Constant Contact (Endurance International Group 旗下子公司)
推薦的外掛
推薦下列外掛給 Contact Form 7 使用者:
- Takayuki Miyoshi 開發的 Flamingo 外掛:使用 Flamingo 便可以透過資料庫內的聯絡表單儲存已傳送的訊息。
- Takayuki Miyoshi 開發的 Bogo 外掛:Bogo 是個簡單明瞭、方便易用的多語系外掛。
本地化
適用於區塊編輯器
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Contact Form 7
安裝方式
- 將完整的
contact-form-7
資料夾上傳到/wp-content/plugins/
目錄中。 - 請在 [外掛] 畫面啟用外掛 ([外掛]→[已安裝的外掛])。
在 WordPress 管理畫面中找到 [聯絡表單] 選單項目即可使用。
如需瞭解基本使用方式,請參考外掛官方網站。
使用者評論
參與者及開發者
變更記錄
如需更多資訊,請參閱版本說明。
5.3.2
- Removes control, separator, and other types of special characters from filename to fix the unrestricted file upload vulnerability issue.
- Akismet: Sets ISO 8601 date/time format for the
comment_date_gmt
parameter.
5.3.1
- Flamingo: Passes the
last_contacted
parameter based on the submission timestamp.
5.3
- Block Editor: Introduces the contact form selector block type.
- Renames the ‘images’ directory to ‘assets’.
- New filter hook:
wpcf7_form_tag_date_option
. - Date: Makes all DateTime date formats available for
min
andmax
options. - Date: Converts the default value to Y-m-d date format string.
- Disallowed list: Deprecates the
wpcf7_submission_is_blacklisted
filter hook in favor ofwpcf7_submission_has_disallowed_words
. - Accessibility: Sets the
aria-describedby
attribute for invalid fields. - Default form template: Removes the “(required)” labels from required fields. Adds “(optional)” to optional fields instead.
- Default mail template: Uses site-related special mail-tags.
5.2.2
- Fixed: A REST API call aborted with a PHP fatal error when the
WPCF7_USE_PIPE
constant value was false. - Introduces the
wpcf7_doing_it_wrong()
function. - Sets the
trigger_error()
function’s$error_type
parameter explicitly. - Makes the
wpcf7_special_mail_tags
filter functions’$mail_tag
parameter optional.
5.2.1
- Makes the [contact-form-7 404 “Not Found”] message localizable.
- REST API: Adds the
permission_callback
argument to every endpoint definition. - Flamingo: Uses
id()
instead ofid
, if available. - Fixed: The
free_text
option did not work correctly with theexclusive
option. - Applies
wpcf7_mail_tag_replaced
filters even when the$posted_data
is null. - Adds custom mail-tag replacement for quiz fields.
- Admin: Updates the date column format in the list table.
5.2
- Submission: Introduces the
$posted_data_hash
and$skip_spam_check
properties. - Submission: Introduces the
wpcf7_skip_spam_check
filter hook. - Contact form: Introduces the
pref()
method. - REST API: Adds parsed form-tags data to the response.
- REST API: Deprecates the
wpcf7_ajax_json_echo
andwpcf7_ajax_onload
filter hooks and introduces thewpcf7_feedback_response
andwpcf7_refill_response
filter hooks as alternatives. - Frontend CSS: Style rules for the response output refer to the
form
element’sclass
attribute. - Frontend JavaScript: Abolishes the use of jQuery events.
- reCAPTCHA: Moves script code to a separate file.
- reCAPTCHA: Changes the name of the field for reCAPTCHA response token from
g-recaptcha-response
to_wpcf7_recaptcha_response
.