Linux 软件免费装
Banner图

Ajax Contact Form

开发者 finalwebsites
更新时间 2025年1月27日 16:28
PHP版本: 5.4 及以上
WordPress版本: 6.7.1
版权: GPLv3
版权网址: 版权信息

标签

recaptcha honeypot forms contact form bootstrap

下载

1.0.1 1.0.2.1 1.0.3 1.2.6 1.0 1.0.2 1.0.4

详情介绍:

This free contact form plugin is used to create a simple contact form using Ajax technology and advanced spam protection (honeypot, cookie and optionally Google reCAPTCHA or hCaptcha). In contrary to most other form plugins, there is no form-builder included. The features The plugin is built to keep stuff simple. If you need a complex web form or if you need a form builder, please use one of the existing form plugins. To use the "Block countries" feature we use the IP to Country API from Country.is. They offer a free service and you don't need an API key.

安装:

The quickest method for installing the contact form is:
  1. Automatically install using the built-in WordPress Plugin installer or...
  2. Upload the entire fws-ajax-contact-form folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Add the shortcode [FWSAjaxContactForm] into the page of your choice.
  5. Visit "Settings" and enter the necessary options. All options are explained on the contact form settings page.
  6. Optionally create a responder email message and add the post ID to the contact form shortcode. Use the placeholder %name% for the name in your salutation.

屏幕截图:

  • Settings for the *Ajax Contact form*.
  • Settings for the *Ajax Contact form*.
  • Settings for the *Ajax Contact form*.
  • Settings for the *Ajax Contact form*.
  • Settings for the *Ajax Contact form*.

常见问题:

What are the shortcode attributes I can use?

There are 4 different attributes:

  • emailsubject - Enter one or more subject fields for your form. Or add an empty value to remove the field completely
  • show_phone - Add the phone number field to your (use "yes" as the value to enable the field).
  • css_class - Use a custom CSS class and add your own style to the form.
  • responder - The responder post ID. Create a post and copy the ID from the browser address bar.

How to add a manual goal in Clicky?

If you use a Clicky premium plan it's possible to track Goals.

  1. In Clicky, go to Goals > Setup > Create a new goal.
  2. Enter a name for the goal
  3. Check the "Manual Goal" checkbox and click Submit
  4. Copy/paste the ID into the field from the plugin options page

How to use the "fwsacf_after_success_form" action hook?

Use the following code in your theme's function.php file. For example you can submit the email address and name to your CRM or email marketing system to send out some follow up emails. add_action('fwsacf_after_success_form', function($email, $name) { // Your code here... // and use the variables $email and $name if needed }, 10, 2);

How to use the dynamic subject feature?

Using this feature is easy, just add the subject text as query string to the page URL where your contact form is located, for example: https://domain.com/contact/?dynsubject=yourtexthere

更新日志:

1.2.6 1.2.5.1 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1.1 1.2.1 1.2.0 1.1.4.1 1.1.4 1.1.3.1 1.1.3 1.1.2 1.1.1 We solved a bug for the reCAPTCHA function. There was a problem inside the code, which marked a message as spam if it takes more than 2 minutes to send a message. Just update and the problem is gone. 1.1.0 After more than 3 years a new version. The plugin worked during the whole time and it was compatible with all past WordPress versions (I use the plugin on my own website). This version has some new features and the Mailgun email address validation is removed. Please check the settings page after the update and modify the settings if necessary. Check also the translations, besides the news string, some of them are replaced by new ones. 1.0.5.1 1.0.5 1.0.4 1.0.3 1.0.2.1 1.0.2 1.0.1 1.0