Title: Contact Form Query
Author: ScriptsTown
Published: <strong>2019 年 5 月 21 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/contact-form-query/assets/banner-772x250.png?rev=3505112)

![](https://ps.w.org/contact-form-query/assets/icon-256x256.png?rev=2091869)

# Contact Form Query

 作者：[ScriptsTown](https://profiles.wordpress.org/scriptstown/)

[下载](https://downloads.wordpress.org/plugin/contact-form-query.1.9.1.zip)

 * [详情](https://cn.wordpress.org/plugins/contact-form-query/#description)
 * [评价](https://cn.wordpress.org/plugins/contact-form-query/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/contact-form-query/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/contact-form-query/#developers)

 [支持](https://wordpress.org/support/plugin/contact-form-query/)

## 描述

**Contact Form Query** plugin adds a contact form to your WordPress site and allows
you to receive new message notifications to your specified email address and also
to the WordPress Admin Panel. The plugin adds a dashboard widget where the site 
admins can quickly view details of the latest messages received in the WordPress
dashboard itself. Also, the plugin provides a dedicated page to filter and view 
all the contact form entries.

To prevent spam entries in the contact form submissions, the plugin allows you to
block messages based on blacklisted keywords. In this way, you can input specific
keywords to easily block certain types of spam messages. In addition, the plugin
supports **captcha** security features like Cloudflare **Turnstile** and Google **
reCAPTCHA**.

The design of the contact form and its elements can easily adapt to your website
theme design for a cohesive appearance. You can choose a **compact** design layout
or a default layout for the contact form. The default layout would match the styles
of your theme form design. You can customize the colors of feedback or validation
messages. The plugin allows you to reorder the contact form fields, adjust field
labels, and indicate which fields are required or optional.

The plugin supports **filtering** and **searching** of messages in the WordPress
admin panel. You can add an extra note to a message entry for future reference or
mark them as answered. In the listing page of the form entries, you can quickly 
search for any specific messages using notes, subjects, email addresses, or message
content.

### Contact Form Query Features

 * [Contact Form Query Features](https://scriptstown.com/wordpress-plugins/contact-form-query/)
 * Contact Form **Shortcode**
 * **Search** and **Filter** Messages
 * Add Extra Notes to a Message
 * Customizable Form
 * **AJAX** Based Contact Form
 * Block Messages Based On Keywords
 * Spam Prevention by **Captcha**
 * Support Cloudflare Turnstile
 * Support Google reCAPTCHA
 * Contact Form Dashboard **Widget**
 * **Notification** to Admin ia Email

## 屏幕截图

[⌊Compact Design⌉⌊Compact Design⌉[

Compact Design

[⌊Contact Form with Success Message⌉⌊Contact Form with Success Message⌉[

Contact Form with Success Message

[⌊Contact Form Messages in WordPress Admin Panel⌉⌊Contact Form Messages in WordPress
Admin Panel⌉[

Contact Form Messages in WordPress Admin Panel

[⌊Message Single View - Add Notes or Mark as Answered⌉⌊Message Single View - Add
Notes or Mark as Answered⌉[

Message Single View – Add Notes or Mark as Answered

[⌊Contact Form Fields Settings⌉⌊Contact Form Fields Settings⌉[

Contact Form Fields Settings

[⌊Contact Form Design Settings⌉⌊Contact Form Design Settings⌉[

Contact Form Design Settings

[⌊Contact Form Captcha Settings⌉⌊Contact Form Captcha Settings⌉[

Contact Form Captcha Settings

[⌊Contact Form Email Settings⌉⌊Contact Form Email Settings⌉[

Contact Form Email Settings

[⌊Latest Messages Dashboard Widget⌉⌊Latest Messages Dashboard Widget⌉[

Latest Messages Dashboard Widget

## 区块

该插件提供了 1 个区块.

 *   Contact Form Add a contact form and receive messages. Customize it in Contact
   > Settings, and view messages in Contact > Messages.

## 安装

**Contact Form Query [Installation Guide]**

 1. You can:
 2.  * Upload the entire `contact-form-query` folder to the `/wp-content/plugins/` 
       directory via FTP.
     * Upload the zip file of plugin via _Plugins -> Add New -> Upload_ in your WordPress
       Admin Panel.
     * Search **Contact Form Query** in the search engine available on _Plugins -> 
       Add New_ and press _Install Now_ button.
 3. Activate the plugin through _Plugins_ menu in WordPress Admin Panel.
 4. Click on _Contact_ menu to configure the plugin.
 5. Ready, now you can use it.

## 常见问题

### How to add contact form to a page or post?

Use the shortcode **[contact_form_query]** in any page or post to display the contact
form.

## 评价

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

### 󠀁[Very nice!](https://wordpress.org/support/topic/very-nice-1358/)󠁿

 [udaysingaa](https://profiles.wordpress.org/udaysingaa/) 2019 年 10 月 30 日

Easy to use, works very well.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/contact-form-query/reviews/)

## 贡献者及开发者

「Contact Form Query」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ScriptsTown ](https://profiles.wordpress.org/scriptstown/)

[帮助将「Contact Form Query」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/contact-form-query)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/contact-form-query/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/contact-form-query/)，或通过[RSS](https://plugins.trac.wordpress.org/log/contact-form-query/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/contact-form-query/)。

## 更新日志

#### 1.9.1

 * Improvement: CSS fixes.
 * Readme updated.

#### 1.9.0

 * Tested up to 7.0.
 * Improvement: Settings page.

#### 1.8.9

 * Tested compatibility with PHP 8.5.
 * Readme updated.

#### 1.8.8

 * Code improvements.
 * Tested up to 6.9.

#### 1.8.7

 * Code improvements.
 * Tested up to 6.8.2.

#### 1.8.6

 * Tested up to 6.8.

#### 1.8.5

 * Tested up to 6.7.2.
 * Readme updated.

#### 1.8.4

 * Code improvements.

#### 1.8.3

 * Tested up to 6.7.
 * Readme updated.

#### 1.8.2

 * Tested up to 6.6.2.
 * Readme updated.

#### 1.8.1

 * Tested up to 6.6.

#### 1.8.0

 * Tested up to 6.5.
 * Tested compatibility with PHP 8.3.
 * Readme updated.

#### 1.7.9

 * Tested up to 6.4.

#### 1.7.8

 * Readme updated.

#### 1.7.7

 * Improvement: Adjusted code related to filtering of messages.

#### 1.7.6

 * Improvement: Refactor code.

#### 1.7.5

 * Updated block API version to 3.

#### 1.7.4

 * Tested up to 6.3.

#### 1.7.3

 * Improvement: CSS fixes.

#### 1.7.2

 * Improvement: CSS fixes.
 * Improvement: Increased textarea rows and columns.

#### 1.7.1

 * Added: Contact form block.

#### 1.7.0

 * Improvement: Fixed deprecated warnings.

#### 1.6.2

 * Tested up to 6.2.

#### 1.6.1

 * Improvement: Settings page.

#### 1.6.0

 * New: Cloudflare turnstile captcha support added.
 * Readme updated.

#### 1.5.5

 * Improvement: Fix messages layout in firefox browser.
 * Added: Option to block messages based on keywords.

#### 1.5.4

 * Improvement: Compatibility with PHP 8.1.

#### 1.5.3

 * Improvement: Query optimization.

#### 1.5.2

 * Improvement: Settings page.

#### 1.5.1

 * Tested up to 6.1.

#### 1.5.0

 * Improvement: Settings page.

#### 1.4.9

 * Improvement: Better handling for form input.

#### 1.4.8

 * Readme updated.

#### 1.4.7

 * Tested up to 6.0.

#### 1.4.6

 * Improvement: Load plugin translations using the init action.

#### 1.4.5

 * Improvement: Changed date type from timestamp to datetime.

#### 1.4.4

 * Tested up to 5.9.

#### 1.4.3

 * New: Added bulk delete option.

#### 1.4.2

 * Bug fix: Search filter.

#### 1.4.1

 * Improvement: Search filter.

#### 1.4.0

 * Added reset filter button.

#### 1.3.8

 * Tested up to 5.8.

#### 1.3.7

 * Improvement: Removed version and changed handle name of reCAPTCHA API.

#### 1.3.6

 * Improvement: Upsell banner clean-up.

#### 1.3.5

 * Tested up to 5.7.

#### 1.3.4

 * Fxied minor bug.

#### 1.3.3

 * Plugin settings page UI improvements.
 * Improved query performance.
 * Improved code.

#### 1.3.2

 * Added minified version of CSS and JS files on the shortcode page.

#### 1.3.1

 * Compatibility with PHP 8.

#### 1.3.0

 * Tested up to 5.6.

#### 1.2.1

 * Fixed dashboard banner design conflict with admin notices.

#### 1.2.0

 * Added welcome notice on activation.

#### 1.1.9

 * Added email configuration guide.
 * Updated PHPMailer code.
 * Tested up to 5.5.

#### 1.1.8

 * Improved caching method.

#### 1.1.7

 * Fixed local time zone issue.
 * Improved dashboard widget.
 * Updated readme file.

#### 1.1.6

 * Added Plugin URI.
 * Changed columns value for textarea from 40 to 50.

#### 1.1.5

 * Improved messages table design.
 * Tested up to 5.4.

#### 1.1.4

 * Improved load time with caching.

#### 1.1.3

 * Fixed record’s date and time as set in WordPress time zone.
 * Tested up to 5.3.2.
 * Updated readme file.

#### 1.1.2

 * Refactor JS code.

#### 1.1.1

 * Fixed color picker bug.

#### 1.1.0

 * Added design settings.

## 额外信息

 *  版本 **1.9.1**
 *  最后更新：**3 周前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/contact-form-query/)
 * 标签
 * [contact](https://cn.wordpress.org/plugins/tags/contact/)[contact form](https://cn.wordpress.org/plugins/tags/contact-form/)
   [contact form plugin](https://cn.wordpress.org/plugins/tags/contact-form-plugin/)
   [email](https://cn.wordpress.org/plugins/tags/email/)[form](https://cn.wordpress.org/plugins/tags/form/)
 *  [高级视图](https://cn.wordpress.org/plugins/contact-form-query/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/contact-form-query/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/contact-form-query/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/contact-form-query/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/contact-form-query/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/contact-form-query/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/contact-form-query/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/contact-form-query/reviews/)

## 贡献者

 *   [ ScriptsTown ](https://profiles.wordpress.org/scriptstown/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/contact-form-query/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://scriptstown.com/)