Contact Form 7

外掛說明

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 位址在內的個人資料,便有可能傳送至服務提供商,建議網站管理員先確認服務提供商的隱私權政策。這些功能如下:

推薦的外掛

推薦下列外掛給 Contact Form 7 使用者:

  • Takayuki Miyoshi 開發的 Flamingo 外掛 – 使用 Flamingo 便可以透過資料庫內的聯絡表單儲存已傳送的訊息。
  • Takayuki Miyoshi 開發的 Bogo 外掛 – Bogo 是個簡單明瞭、方便易用的多語系外掛。

本地化

你可以在 translate.wordpress.org 網站上為 Contact Form 7 進行本地化

螢幕擷圖

  • 編輯聯絡表單的畫面

安裝方式

  1. 將完整的 contact-form-7 資料夾上傳到 /wp-content/plugins/ 目錄中。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。

[聯絡表單] 選單就會出現在 WordPress 的管理面板中。

請造訪外掛官方網站以瞭解基本使用方式。

常見問題集

想詢問 Contact Form 7 相關問題或提出意見嗎?請透過適當的支援管道尋求協助。

  1. 線上說明文件
  2. 常見問題集
  3. 技術支援論壇

技術支援

使用者評論

2020 年 2 月 22 日
I used Contact form 7 and it is the best plugin for forms. we get basic design ready and also it does not slow down the site.
2020 年 2 月 17 日
I see a lot of people hating on this plugin because they're using some unsupported version that is bundled in a theme, - all I can say from my own experience is that after using it for several years on many sites is a big thank you to the devs that keep it up to date and free for everyone. It's extremely easy to set up and customize. Cheers!
2020 年 2 月 14 日
Beloved by devs for its customisability, but as this form builder is all shortcode based it's not that easy for newbies to pick up. All in all, though, it's a powerful tool to use.
閱讀全部 1,723 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Contact Form 7〉的開發相關工作。

參與者

Contact Form 7 外掛目前已有 59 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

如需更多資訊,請參閱版本說明

5.1.6

  • CSS: removes a style rule from the stylesheet that was unnecessary and conflicting with Twenty Twenty’s rules.
  • REST API: retrieves the contact form ID explicitly from the route parameters.

5.1.5

  • Config Validator: New test item for the unavailable_html_elements error.
  • Config Validator: New test item for the attachments_overweight error.

5.1.4

  • reCAPTCHA: introduces the WPCF7_RECAPTCHA_SITEKEY and WPCF7_RECAPTCHA_SECRET constants.
  • reCAPTCHA: Introduces the wpcf7_recaptcha_sitekey and wpcf7_recaptcha_secret filter hooks.
  • Adds $status parameter to the wpcf7_form_response_output filter.
  • Creates a nonce only when the submitter is a logged-in user.
  • Introduces WPCF7_ContactForm::unit_tag(), a public method that returns a unit tag.
  • reCAPTCHA: gives a different spam log message for cases where the response token is empty.
  • Acceptance Checkbox: supports the label_first option in an acceptance form-tag.

5.1.3

  • Fixes a bug making it unable to unselect an option in the Mail tab panel.

5.1.2

  • Constant Contact: Introduces the contact list selector.
  • Constant Contact: Introduces the constant_contact additional setting.
  • reCAPTCHA: Introduces the wpcf7_recaptcha_actions and wpcf7_recaptcha_threshold filter hooks.

5.1.1

  • reCAPTCHA: Modifies the reaction to empty response tokens.

5.1

  • Introduces the Constant Contact integration module.
  • Updates the reCAPTCHA module to support reCAPTCHA v3.
  • Adds Dark Mode style rules.

5.0.5

  • Fixes the inconsistency problem between get_data_option() and get_default_option() in the WPCF7_FormTag class.
  • Suppresses PHP errors occur on unlink() calls.
  • Introduces wpcf7_is_file_path_in_content_dir() to support the use of the UPLOADS constant.

5.0.4

  • Specifies the capability_type argument explicitly in the register_post_type() call to fix the privilege escalation vulnerability issue.
  • Local File Attachment – disallows the specifying of absolute file paths referring to files outside the wp-content directory.
  • Config Validator – adds a test item to detect invalid file attachment settings.
  • Fixes a bug in the JavaScript fallback function for legacy browsers that do not support the HTML5 placeholder attribute.
  • Acceptance Checkbox – unsets the form-tag’s do-not-store feature.

5.0.3

  • CSS: Applies the “not-allowed” cursor style to submit buttons in the “disabled” state.
  • Acceptance Checkbox: Revises the tag-generator UI to encourage the use of better options in terms of personal data protection.
  • Introduces wpcf7_anonymize_ip_addr() function.
  • Introduces the consent_for:storage option for all types of form-tags.

5.0.2

  • Added the Privacy Notices section to the readme.txt file.
  • Updated the Information meta-box content.
  • Use get_user_locale() instead of get_locale() where it is more appropriate.
  • Acceptance Checkbox: Reset submit buttons’ disabled status after a successful submission.

5.0.1

  • Fixed incorrect uses of _n().
  • Config validation: Fixed incorrect count of alerts in the Additional Settings tab panel.
  • Config validation: Fixed improper treatment for the [_site_admin_email] special mail-tag in the From mail header field.
  • Acceptance checkbox: The class and id attributes specified were applied to the wrong HTML element.
  • Config validation: When there is an additional mail header for mailboxes like Cc or Reply-To, but it has a possible empty value, “Invalid mailbox syntax is used” error will be returned.
  • Explicitly specify the fourth parameter of add_action() to avoid passing unintended parameter values.
  • Check if the target directory is empty before removing the directory.

5.0

  • Additional settings: on_sent_ok and on_submit have been removed.
  • New additional setting: skip_mail
  • Flamingo: Inbound channel title changes in conjunction with a change in the title of the corresponding contact form.
  • DOM events: Make an entire API response object accessible through the event.detail.apiResponse property.
  • HTML mail: Adds language-related attributes to the HTML header.
  • File upload: Sets the accept attribute to an uploading field.
  • Introduces the WPCF7_MailTag class.
  • Allows aborting a mail-sending attempt using the wpcf7_before_send_mail action hook. Also, you can set a custom status and a message through the action hook.
  • Acceptance checkbox: Allows the specifying of a statement of conditions in the form-tag’s content part.
  • Acceptance checkbox: Supports the optional option.
  • New special mail tags: [_site_title], [_site_description], [_site_url], [_site_admin_email], [_invalid_fields], [_user_login], [_user_email], [_user_url], [_user_first_name], [_user_last_name], [_user_nickname], and [_user_display_name]
  • New filter hooks: wpcf7_upload_file_name, wpcf7_autop_or_not, wpcf7_posted_data_{$type}, and wpcf7_mail_tag_replaced_{$type}
  • New form-tag features: zero-controls-container and not-for-mail