Title: Contact Form Zero
Author: Web Guy
Published: <strong>2020 年 5 月 20 日</strong>
Last modified: 2026 年 7 月 18 日

---

搜尋外掛

![](https://ps.w.org/contact-form-zero/assets/banner-772x250.jpg?rev=2309112)

![](https://ps.w.org/contact-form-zero/assets/icon-256x256.jpg?rev=2309112)

# Contact Form Zero

 由 [Web Guy](https://profiles.wordpress.org/webguyio/) 開發

[下載](https://downloads.wordpress.org/plugin/contact-form-zero.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/contact-form-zero/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/contact-form-zero/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/contact-form-zero/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/contact-form-zero/#developers)

 [技術支援](https://wordpress.org/support/plugin/contact-form-zero/)

## 外掛說明

[💬 Ask Question](https://github.com/webguyio/support) | [📧 Email Me](https://tw.wordpress.org/plugins/contact-form-zero/webguywork@gmail.com?output_format=md)

**Zero** Difficulty. **Zero** Spam.

Add a stupidly simple and lightweight contact form to your website in any page, 
post, or text widget with this shortcode:

    ```
    [contact-form-zero]
    ```

The entire point of this plugin is to be completely hands-free, easy, and just work
straight out-of-the-box. Simply plug and play without any required settings to adjust.

If you’re looking for the exact opposite of that, that is, a form you can custom
build with advanced options, I recommend [Contact Form 7](https://wordpress.org/plugins/contact-form-7/).

### Features

 * The most lightweight contact form plugin available for WordPress (no required
   settings to adjust or forms to create)
 * Name, Email, Phone, and Message form fields (phone field is optional for your
   visitors)
 * Automatically sends emails to the email address set under _Settings > General
   > Administration Email Address_
 * Optimized for accessibility
 * Highly effective and hidden anti-spam measures (no annoying CAPTCHAs required)
 * Enable Google reCAPTCHA for additional protection if you like (usually no annoying
   CAPTCHAs required)
 * Enable hCaptcha for additional protection if you like (CAPTCHAs required — only
   paid accounts for the hCaptcha service offer invisible options)
 * Enable Cloudflare Turnstile for additional protection if you like (no annoying
   CAPTCHAs required)
 * Enable Akismet for additional protection if you like (privacy implications)
 * Fully compatible with all the protections of [Dam Spam](https://damspam.com/)(
   fork of Stop Spammers)
 * Easy to customize with CSS (please ask for help if you need it — I’m happy to
   write custom code for you to copy/paste)

### Optional Shortcode Attributes

    ```
    [contact-form-zero email="email@example.com"] — Set a custom email address for form submissions to be sent to.

    [contact-form-zero accent="#000"] — Change the accent color for the form.

    [contact-form-zero unstyled="yes"] — Form is left naked for you or your theme to style.

    [contact-form-zero custom-1="FIELD NAME HERE" custom-2="FIELD NAME HERE*"] — Add as many custom text fields as you like and use * to make it required.

    [contact-form-zero g-key="SITE KEY HERE" g-secret="SECRET KEY HERE"] — Add your API keys (google.com/recaptcha/admin/create) to enable Google reCAPTCHA.

    [contact-form-zero h-key="SITE KEY HERE" h-secret="SECRET KEY HERE"] — Add your API keys (dashboard.hcaptcha.com/sites/new) to enable hCaptcha.

    [contact-form-zero c-key="SITE KEY HERE" c-secret="SECRET KEY HERE"] — Add your API keys (dash.cloudflare.com/?to=/:account/turnstile/add) to enable Cloudflare Turnstile.

    [contact-form-zero akismet="yes"] — Add your API key (akismet.com/signup/#personal) to the Akismet plugin settings to enable Akismet.
    ```

## 安裝方式

There are no required settings to adjust. Simply use the `[contact-form-zero]` shortcode
on any page, post, or text widget or in your theme code, use `<?php echo do_shortcode('[
contact-form-zero]' ); ?>`.

## 常見問題集

### Why am I not receiving emails?

I’m using the built-in `wp_mail` function. Most hosting environments (even shared
hosts like Bluehost and GoDaddy) can handle email, but not very well out-of-the-
box and require being optimized. It actually takes quite a bit of work to make sure
your emails are deliverable. Some recommendations:

 * Check that your SPF, DKIM, and other email records are set up correctly ([mail-tester.com](https://www.mail-tester.com/)
   is a great all-around tool for checking and fixing common email deliverability
   issues)
 * Even on shared hosts, you should be able to add a dedicated IP to your account
   for very cheap (which allows you to get away from shared IPs that have a bad 
   reputation because your neighbors are spamming)
 * If all else fails, you can abandon using your own server for mail altogether,
   and host offsite with a free or paid third-party service like Gmail or Mailgun(
   check out the [WP Mail SMTP](https://wordpress.org/plugins/wp-mail-smtp/) plugin
   to go that route)

### Why is the CAPTCHA not appearing on my form?

The modern versions of Google reCAPTCHA, hCaptcha, and Cloudflare Turnstile are 
relatively invisible. Be sure to send yourself a test message through your form.

### How’s the security and privacy?

The security is rock-solid. By default, Contact Form Zero is completely private 
and GDPR-compliant. However, if you choose to enable Google reCAPTCHA, hCaptcha,
Cloudflare Turnstile, or Akismet for your contact form, you may want to check their
privacy policies.

While Contact Form Zero can detect when Akismet is installed on your site, I’ve 
still made it explicitly opt-in only. If Akismet is enabled, every time someone 
uses the contact form, their IP will be sent to a third-party server.

## 使用者評論

![](https://secure.gravatar.com/avatar/2d283950c4aee9a13c109540540070c1ea60968618e3ae578b57b87bc590724c?
s=60&d=retro&r=g)

### 󠀁[Works like a charm!](https://wordpress.org/support/topic/works-like-a-charm-1735/)󠁿

 [Trumani](https://profiles.wordpress.org/trumani/) 2020 年 7 月 3 日

Plugin does exactly what I need it to.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/contact-form-zero/reviews/)

## 參與者及開發者

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

參與者

 *   [ Web Guy ](https://profiles.wordpress.org/webguyio/)

〈Contact Form Zero〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/contact-form-zero/contributors)
為這個外掛做出的貢獻。

[將〈Contact Form Zero〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/contact-form-zero)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/contact-form-zero/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/contact-form-zero/)，或透過 
[RSS](https://plugins.trac.wordpress.org/log/contact-form-zero/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/contact-form-zero/)。

## 變更記錄

#### 1.6

 * Improved accessibility

#### 1.5

 * Added unlimited custom fields
 * Added support for Akismet
 * Added time-based spam protection
 * Improved security

#### 1.4.2

 * Improvements

#### 1.4.1

 * Fixes

#### 1.4

 * Added support for Cloudflare Turnstile

#### 1.3

 * Added support for hCaptcha

#### 1.2

 * Added support for Google reCAPTCHA

#### 1.1

 * Minor code cleanup

#### 1.0

 * Translation-ready
 * Various improvements

#### 0.7

 * Improved sanitization

#### 0.6

 * Improved spam protection even more

#### 0.5

 * Added optional shortcode attributes for customizing the form

#### 0.4

 * Improved spam protection

#### 0.3

 * PHP notice fix

#### 0.2

 * Added placeholders for form fields

#### 0.1

 * New

## 中繼資料

 *  版本 **1.6**
 *  最後更新 **2 個月前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.6**
 *  語言
 * [English (US)](https://wordpress.org/plugins/contact-form-zero/)、[Spanish (Spain)](https://es.wordpress.org/plugins/contact-form-zero/)、
   及 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/contact-form-zero/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/contact-form-zero)
 * 標籤:
 * [anti-spam](https://tw.wordpress.org/plugins/tags/anti-spam/)[contact form](https://tw.wordpress.org/plugins/tags/contact-form/)
   [email](https://tw.wordpress.org/plugins/tags/email/)[feedback](https://tw.wordpress.org/plugins/tags/feedback/)
   [quote](https://tw.wordpress.org/plugins/tags/quote/)
 *  [進階檢視](https://tw.wordpress.org/plugins/contact-form-zero/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/contact-form-zero/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/contact-form-zero/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/contact-form-zero/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/contact-form-zero/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/contact-form-zero/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/contact-form-zero/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/contact-form-zero/reviews/)

## 參與者

 *   [ Web Guy ](https://profiles.wordpress.org/webguyio/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/contact-form-zero/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://webguy.io/donate)