Contact Form 7

Description

Contract Form 7 可以管理多个联系表单,而且您可以自定义窗体并灵活调整邮件内容。该表单还支持ajax,CAPTCHA验证码,Akismet 垃圾邮件过滤,等等。

Docs and support

You can find docs, FAQ and more detailed information about Contact Form 7 on contactform7.com. When you can’t find the answer to your question on the FAQ or in any of the documentation, check the support forum on WordPress.org. If you can’t locate any topics that pertain to your particular issue, post a new topic for it.

Contact Form 7 needs your support

It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using Contact Form 7 and find it useful, please consider making a donation. Your donation will help encourage and support the plugin’s continued development and better user support.

Privacy notices

With the default configuration, this plugin, in itself, does not:

  • track users by stealth;
  • write any user personal data to the database;
  • send any data to external servers;
  • use cookies.

If you activate certain features in this plugin, the contact form submitter’s personal data, including their IP address, may be sent to the service provider. Thus, confirming the provider’s privacy policy is recommended. These features include:

Recommended plugins

推荐Contact Form7用户使用以下插件:

  • 火烈鸟是由Takayuki Miyoshi开发的插件。该插件您在数据库中保存由联系表单发送的信息。
  • Bogo是由Takayuki Miyoshi开发的插件 — Bogo是一个简单明了、使用便捷的多语言的插件。

翻译

You can translate Contact Form 7 on translate.wordpress.org.

屏幕截图

  • screenshot-1.png

Installation

  1. 上传整个contact-form-7文件夹到/wp-content/plugins/目录下。
  2. Activate the plugin through the Plugins screen (Plugins > Installed Plugins).

You will find Contact menu in your WordPress admin screen.

For basic usage, have a look at the plugin’s website.

常见问题

有关Contact Form7的问题?请选用相应的支持渠道。

  1. 文件
  2. 常问问题
  3. Support forum

支持

Reviews

2020年5月27日
Nice plugin. Free one with almost 0 support from very unmotivated owner. I would never buy any paid plugin owned by this company since support is probably similar.
2020年5月27日
It was working fine before. But lately, all contact form messages sent were marked as spam so it couldn't send emails through my contact form. I searched a lot in internet to figure out why this was happening. I spent hours to fix it. I closed all other plugins to see if there was a conflict. I colsed ReCaptcha... it didn't work whatever I did. Then I found a website suggesting this: "If your contact from 7 plugin treat a form submissions as spam and it failed. Add the following line in your functions.php file add_filter('wpcf7_spam', '__return_false'); I put this line in the functions.php and it started working again. But it took 3 hours to find this solution. (Faster than the "support" reply though. I write here if you're having the same issue with it. I don't know why this happens but it is ridicilous. My other website with same plugins work fine. This might be a bug, I don't know. I don't know what is the disadvantages to put this line in the functions.php but it started to work properly. I think I will use another plugin for my contact form because I don't trust these kinds of modifications even if it solved the problem.
2020年5月18日
Contact Form 7 belongs in the Hall of Fame of WordPress Plugins. It has been there for me as long as I remember. For more than a decade I really haven't had the need for another contact form plugin. Robust. Excellent.
阅读所有的1,757评价

Contributors & Developers

“Contact Form 7” 是开源软件。 以下人员对此插件做出了贡献。

Contributors

“Contact Form 7” 已翻译成60 语言环境。 感谢译者的贡献。

将“Contact Form 7”翻译成您的语言。

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

更新日志

欲了解更多信息,请参阅发布

5.1.9

  • Special mail-tags: Reflects WP timezone to [_date] and [_time] mail-tags.
  • WPCF7_FormTag: Reflects WP timezone to get_date_option() output.
  • User input validation: Strictly compares to boolean false.

5.1.8

  • reCAPTCHA: Shows no warning on upgrading from v2 if the global sitekey is defined.
  • reCAPTCHA: Improves the frontend JavaScript coding.
  • Accessibility: Improves the response message markup.
  • Fixes the regular expression pattern in wpcf7_is_tel().
  • Fixed: Character count was not reset after a successful submission.
  • Fixed: The fourth parameter of the wpcf7_special_mail_tags filter hook was not correctly set.

5.1.7

  • CSS: Adds an explicit LTR direction style rule for code inputs.
  • Accessibility: Uses Error instead of ERROR in warnings.

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