Contact Form 7


Contact Form 7 可管理多張聯絡表單,也能透過簡單的標記靈活地自訂表單及郵件內容。表單支援 Ajax 傳送方式、CAPTCHA、Akismet 垃圾留言篩選等功能。


你可以在 上找到線上說明文件常見問題集及 Contact Form 7 的詳細資訊。如果無法在常見問答集或線上說明文件中找到答案,請前往 上的 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 是個簡單明瞭、方便易用的多語系外掛。


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


  • 編輯聯絡表單的畫面


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

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



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

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



2020 年 1 月 20 日
No doubt this plugin is very cool for junior developers like me and the best part is creator of this plugin provides me the solution within minutes when I post it on wordpress support forum.
2020 年 1 月 17 日
Sorry, but such a PlugIn should work on mobile Devices like iPhones. On these Devices it shows after click on the send button a small spinning wheel and nothing more happens. There are workarounds in functions.php known, but that's not what i suspected. Greets
2020 年 1 月 11 日
honestly the plugin worked for a while, but ever since version 4.0, it breaks other parts of our website or theme when we use this. I wish I could enjoy this plugin, but it's doing it on the 5+ websites that I manage.
閱讀全部 1,704 則使用者評論


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


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

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


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




  • 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.


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


  • 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.


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


  • 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.


  • reCAPTCHA: Modifies the reaction to empty response tokens.


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


  • 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.


  • 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.


  • 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.


  • 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.


  • 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.


  • 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