[WordPress] 外掛分享: Essential Form – The lightest plugin for contact forms, ultra lightweight and no spam

首頁外掛目錄 › Essential Form – The lightest plugin for contact forms, ultra lightweight and no spam
WordPress 外掛 Essential Form – The lightest plugin for contact forms, ultra lightweight and no spam 的封面圖片
500+
安裝啟用
★★★★
4.9/5 分(19 則評價)
104 天前
最後更新
0%
問題解決
WordPress 4.6+ PHP 7.2+ v1.0.2 上架:2023-02-27

內容簡介

在您想要有姓名、電子郵件、訊息和勾選框的聯絡表單中使用簡碼 [essential_form]。

Essential Form 具備強大的反垃圾郵件系統,可以阻止所有機器人。機器人無法傳送垃圾郵件給您,只有人類可以手動進行。

大多數情況下,您只需要聯絡表單的姓名、電子郵件、訊息和勾選表單。如果您需要更多功能,此外掛不適用。在這種情況下,請安裝像 Contact Form 7 這樣的聯絡表單外掛。

Essential Form 不會增加任何 HTTP 請求。它消耗零資源,當我們說這是最輕量的聯絡表單時,完全不是開玩笑的。

整個插件的壓縮檔僅為 14 kB。在添加簡碼的頁面上,它內嵌了一個非常小的純 Vanilla JavaScript 腳本,約 1 千字節。在沒有表單的頁面上,當然不會存在此內容。

沒有 jQuery,沒有庫,沒有類似這些庞大內容的內容。

反垃圾郵件系統以一種非常聰明的方式在後台運行,不需要任何煩人的驗證碼或其他類似系統,有時甚至失敗。

只是為了讓您了解此外掛的安全級別,管理發送電子郵件的 Ajax 操作的名稱是類似於 essential_form_fbe52b696 的東西,其中的最後部分在每個網站上都不相同。

機器人永遠無法猜測在此過程中涉及的功能名稱。

此外,提交是基於隨機標記,每個表單提交始終不同,並且對於每個網站是唯一的 20 個隨機鍵。

所有反垃圾郵件系統在幕後運作,不會干擾使用者,最重要的是,它能夠運作。

如何在頁面上添加聯絡表單

添加簡碼 [essential_form]
完成!

聯絡表單的功能

非常輕量級。它只在添加簡碼的頁面上內嵌了 1 k (壓縮文檔時它甚至會更小)的純 Vanilla JavaScript ,永遠不會出現在折疊位置上方。在其他頁面上,它不存在。我們可以說它只存在您看到聯絡表單的頁面上,否則在該頁面上通常無法看到此外掛存在。沒有工具能夠測量由於此外掛而產生的消耗。
聯絡表單將僅帶有姓名、電子郵件、訊息和勾選表單。沒有其他功能。如果您需要更多功能,最好使用不同的外掛。如果這些字段正是您所需要的,您會喜歡此外掛。
它繼承您的佈景主題樣式。如果您需要不同的樣式,您需要編寫自己的自定義 CSS 或使用其他外掛。
它具有非常強大的反垃圾郵件系統。機器人無法通過聯絡表單傳送垃圾郵件。只有人類可以手動發送垃圾郵件。
無需煩人的驗證碼或類似系統,訪問者不會因受挫而浪費神經。反垃圾郵件系統在幕後運行,非常強大。

簡碼參數

label_email
label_message
button_text
agreement_text
success_message

如果指定,簡碼將類似於 [essential_form label_emal=”您的電子郵件” lable_message=”您的消息” button_text=”發送” agreement_text=”您同意我們的隱私政策” success_message=”謝謝您的信息!”]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Essential Form – The lightest plugin for contact forms, ultra lightweight and no spam」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Looking for a no-fuss, ultra-lightweight contact form that just works? Essential Form gives you exactly what you need — no more, no less.
Use the shortcode [essential_form] wherever you want a simple contact form with the following fields:

Name
Email
Message
Agreement checkbox

That’s it. No extra fluff, no performance hit.
⚡ Zero Bloat. Zero Requests. Zero Spam.
Essential Form adds no HTTP requests, loads no external libraries, and runs on pure Vanilla JavaScript — only 1 kB of inline script, injected only on pages with a form. When we say it’s the lightest contact form ever made, we mean it. The entire plugin zip is just 14 kB.
🛡️ Anti-Spam, Reinvented (No Captchas, Ever)
Our invisible anti-spam system blocks all automated bots — no annoying captchas, no puzzles, no headaches. Here’s how it works:

Each form submission uses a unique, random token
20 random security keys are generated per site
AJAX actions have unpredictable names like essential_form_fbe52b696
Robots can’t guess or simulate a valid submission

The result? Only real humans get through. Bots don’t stand a chance.
🧘‍♀️ Keep It Simple
Most of the time, all you need is a name, email, message, and a simple checkbox. That’s exactly what Essential Form gives you. If you need complex forms with extra fields or logic, this plugin isn’t for you — try Contact Form 7 instead.
But if you want something fast, clean, and incredibly secure, Essential Form is for you.
Try Essential Form today — and enjoy a faster, cleaner contact form experience.
How to add a contact form on the page

Add the shortcode [essential_form]
Done!

Features of the Contact Form

Extremely lightweight – The plugin inlines about 1 kB of pure Vanilla JavaScript (even smaller when compressed) only on the page where you use the shortcode — and never above the fold. On all other pages, it doesn’t exist at all. You could say it only “exists” on a page because the form is visible — otherwise, you’d never know the plugin is there. No tool will be able to measure any meaningful resource usage caused by this plugin.

The contact form includes only four fields: name, email, message, and an agreement checkbox. Nothing else. If you need more fields, this plugin isn’t for you. But if that’s all you need — you’ll love how simple and fast it is.

It inherits your theme’s styles automatically. If you want custom styling, you can add your own CSS — or use a different plugin if you need more built-in design options.

It includes a powerful, invisible anti-spam system. Bots won’t be able to send messages through your form. Only real humans can submit it — and if you ever get spam, it will be from a human doing it manually.

No captchas, no puzzles, no user frustration. The anti-spam system works entirely behind the scenes — quietly and effectively.

Shortcode Parameters
You can customize the form labels and messages using these shortcode parameters:

label_email
label_message
button_text
agreement_text
success_message

Example usage:
[essential_form label_email="Your email" label_message="Your message" button_text="Send" agreement_text="You agree with our privacy policy" success_message="Thank you for your message!"]

If you don’t provide these parameters, the plugin will use the default values.
How to customize the contact forms
You can also customize the contact forms throught the filter hook ‘essential_form_settings’.
Here an example.
add_filter( 'essential_form_settings',function( $options ){
return array(
'email_from' => '[email protected]',
'email_to' => '[email protected]',
'email_subject' => sprintf( esc_html__( 'Message from %s','your-domain' ),get_bloginfo( 'name' ) ),
'label_name' => __( 'Name','your-domain' ),
'label_email' => __( 'Email','your-domain' ),
'label_message' => __( 'Message','your-domain' ),
'button_text' => __( 'Send','your-domain' ),
'agreement_text' => __( 'By submitting this form I agree with the privacy policy','your-domain' ),
'success_message' => __( 'Form submitted successfully! Thank you for your message!','your-domain' ),
'name_missing_error' => __( 'Name is a required field!','your-domain' ),
'email_missing_error' => __( 'Email is a required field!','your-domain' ),
'email_not_valid_error' => __( 'Email not valid!','your-domain' ),
'message_missing_error' => __( 'Message is a required field!','your-domain' ),
'message_too_long_error' => __( 'This message is too long! Please, write not more than 50000 characters.','your-domain' ),
'missing_agreement_error' => __( 'You have to agree with our privacy policy to submit the form.','your-domain' )
);
} );

If you need to do a custom action after the sending of the email, you can use the action hook ‘essential_form_after_sending’.
Here an example.
add_action( 'essential_form_after_sending',function( $name,$email,$message,$post_id ){

//$name is the name of the user who submitted the contant form
//$message is the message which is sent through the contact form
//$post_id is the ID of the page where is included the contact form

//Your code here

},10,4 );

If you need to customize the message that is included in the email, use the filter hook ‘essential_form_message’.
Here you have an example.
add_filter('essential_form_message',function( $message,$name,$email,$post_id ){
if( isset( $_SERVER['REMOTE_ADDR'] ) ){
$message .= '

IP: '.sanitize_text_field( $_SERVER['REMOTE_ADDR'] ).'

';
}
return $message;
},10,4 );

If you need to customize the agreement text, use the filter hook ‘essential_form_agreement_text’.
Here you have an example.
add_filter( 'essential_form_agreement_text',function( $text ){
return 'By submitting this form I agree with the Privacy Policy';
} );

Limitations
The limits of Essential Form are many, but they are what make this plugin the best if you need a ultra-lightweight contact form with just name, email, comment, and privacy agreement.
If you need more, you can always install more complete but also heavier contact forms like:
Contact Form 7
WPForms
Forminator
Formidable Forms
Ninja Forms
and many other amazing plugins for contact forms.
How to speed up the form submission and avoid conflicts with other plugins

Install and activate Freesoul Deactivate Plugins
Go to Freesoul Deactivate Plugins => Plugin Manger => Actions => Essential Form
Deactivate all the plugins for the actions “Getting secret key during submission” and “Form submission”

By using Freesoul Deactivate Plugins to clean up all the other plugins, the form submission will be faster and without any conflict with third plugins.
Demo
You can see Essential Form in action on my blog post The Lightest Contact Form Plugin Ever
You don’t need any demo for the backend, because there are no settings for this plugin. Just use the shortcode [essential_form] where you want to add the form, and customized as mentioned in the description.
I need this plugin to do something custom
If you want to integrate this plugin with other tools or workflows, I offer a custom development service for WordPress plugin integrations and feature extensions.
Learn more about advanced custom functionality for WordPress.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon