[wordpress插件] Contact Form Clean and Simple联系表格简洁明了

wordpress 插件 文章 2020-03-24 09:10 746 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

A clean and simple AJAX contact form with Google reCAPTCHA, Twitter Bootstrap markup and Akismet spam filtering.

带有Google reCAPTCHA,Twitter Bootstrap标记和Akismet垃圾邮件过滤功能的干净,简单的AJAX联系表。

    • Clean: all user inputs are stripped in order to avoid cross-site scripting (XSS) vulnerabilities.

      清洁:剥离所有用户输入,以避免跨站点脚本(XSS)漏洞。

    • Simple: AJAX enabled validation and submission for immediate response and guidance for your users (can be switched off).

      简单:AJAX启用了验证和提交功能,可为用户提供即时响应和指导(可以关闭)。

    • Stylish: Use the included stylesheet or switch it off and use your own for seamless integration with your website.

      样式:使用随附的样式表或将其关闭,然后使用自己的样式表与您的网站无缝集成。

      Uses Twitter Bootstrap classes.

      使用 Twitter Bootstrap 类。

    • Safe: All incoming data is scanned for spam with Akismet.

      安全:使用 Akismet 对所有传入数据进行垃圾邮件扫描。

    This is a straightforward contact form for your WordPress site.

    这是您的WordPress网站的直接联系表单。

    There is very minimal set-up

    设置极少

    required.

    需要。

    Simply install, activate, and then place the short code [cscf-contact-form] on your web page.

    只需安装,激活,然后将短代码 [cscf-contact-form] 放置在您的网页上。

    A standard set of input boxes are provided, these include Email Address, Name, Message and a nice big ‘Send Message’ button.

    提供了一组标准的输入框,其中包括“电子邮件地址”,“名称”,“消息”和一个漂亮的“发送消息”按钮。

    When your user has completed the form an email will be sent to you containing your user’s message.

    您的用户填写完表格后,将向您发送一封电子邮件,其中包含用户的消息。

    To reply simply click the ‘reply’ button on your email client.

    要回复,只需单击电子邮件客户端上的“回复”按钮。

    The email address used is the one you have set up in WordPress under ‘Settings’ -> ‘General’, so do check this is correct.

    使用的电子邮件地址是您在WordPress中的“设置”->“常规”下设置的电子邮件地址,因此请检查此电子邮件地址是否正确。

    To help prevent spam all data is scanned via Akismet.

    为防止垃圾邮件,所有数据均通过Akismet进行扫描。

    For this to work you must have the Akismet Plugin installed and activated.

    为此,您必须安装并激活 Akismet插件

    All spam will be placed in your ‘comments’ list which you can then review if you want to

    所有垃圾邮件都将放置在“评论”列表中,然后您可以查看是否要

    learn more

    了解详情

    .

    For added piece of mind this plugin also allows you to add a ‘reCAPTCHA’.

    请记住,此插件还允许您添加“ reCAPTCHA ”。

    This adds a picture of a couple of words to the bottom of the contact form.

    这会将几个单词的图片添加到联系表的底部。

    Your user must correctly type the words before the form can be submitted, and in so doing, prove that they are human.

    您的用户必须先正确键入单词,然后才能提交表单,并证明自己是人类。

    Why Choose This Plugin?

    为什么选择此插件?

    Granted there are many plugins of this type in existence already.

    当然已经存在许多这种类型的插件。

    Why use this one in-particular?

    为什么要特别使用这个?

    Here’s why:

    这是为什么:

      • Minimal setup.

        最小设置。

        Simply activate the plugin and place the shortcode [cscf-contact-form] on any post or page.

        只需激活插件,然后将简码[cscf-contact-form]放置在任何帖子或页面上即可。

      • Safe.

        安全

        All input entered by your user is stripped back to minimise as far as possible the likelihood of any

        您的用户输入的所有输入都会被剥离,以尽可能减少发生任何错误的可能性

        malicious user attempting to inject a script into your website.

        恶意用户试图将脚本注入您的网站。

        If the Akismet plugin is activated all form data will be scanned for spam.

        如果激活了Akismet插件,则将扫描所有表单数据以查找垃圾邮件。

        You can turn on reCAPTCHA to avoid your form being abused by bots.

        您可以打开reCAPTCHA以避免您的表单被机器人滥用。

      • Ajax enabled.

        启用了Ajax

        You have the option to turn on AJAX (client-side) validation and submission which gives your users an immediate response when completing the form without having to wait for the page to refresh.

        您可以选择打开AJAX(客户端)验证和提交功能,这使您的用户在填写表单时可以立即做出响应,而不必等待页面刷新。

      • The form can integrate seamlessly into your website.

        该表单可以无缝集成到您的网站

        Turn off the plugin’s default css style sheet so that your theme’s style sheet can be used instead.

        关闭插件的默认CSS样式表,以便可以使用主题样式表。

      • If your theme is based on twitter bootstrap then this plugin will fit right in because it already has all the right div’s and CSS classes for bootstrap.

        如果您的主题基于 twitter bootstrap ,则此插件将完全适合,因为它已经具有用于引导程序的所有正确的div和CSS类。

      • This plugin will only link in its jQuery file where it’s needed, it will not impose itself on every page of your whole site!

        此插件只会在需要的地方链接到其jQuery文件,而不会不会在整个网站的每个页面上强加

      • Works with the latest version of WordPress.

        使用最新版本的WordPress

      • Written by an experienced PHP programmer, the code is rock solid, safe, and rigorously tested as standard practice.

        经验丰富的PHP程序员编写,该代码坚如磐石,安全且经过严格测试,成为标准惯例。

      Hopefully this plugin will fulfil all your needs, if not get in

      希望该插件可以满足您的所有需求,如果不是获取

      -touch and I will customise to your exact requirements.

      -touch ,我们将根据您的确切要求进行定制。

      How to Use

      使用方法

      Unless you want to change messages or add reCAPTCHA to your contact form then this plugin will work out of the box without any additional setup.

      除非您想更改消息或将reCAPTCHA添加到您的联系表单,否则此插件无需任何其他设置即可直接使用。

      Important: Check that you have an email address set-up in your WordPress ‘Settings’->’General’ page.

      重要提示:检查WordPress的“设置”->“常规”页面中是否有电子邮件地址设置。

      This is the address that the plugin will use to send the contents of the contact form.

      这是插件用来发送联系表内容的地址。

      To add the contact form to your WordPress website simply place the shortcode [cscf-contact-form] on the post or page that you wish the form to appear on.

      要将联系表单添加到WordPress网站,只需将简码[cscf-contact-form]放置在您希望表单出现的帖子或页面上。

      If you have Jetpack plugin installed disable the contact form otherwise the wrong form might display.

      如果您安装了Jetpack插件,请禁用联系表单,否则可能会显示错误的表单。

      More information on

      更多信息

      how to use the plugin.

      如何使用插件。

      Additional Settings

      其他设置

      This plugin will work out of the box without any additional setup.

      此插件无需任何其他设置即可直接使用。

      You have the option to change the default messages that are displayed to your user and to add reCAPTCHA capabilities.

      您可以选择更改向用户显示的默认消息,并添加reCAPTCHA功能。

      Go to the settings screen for the contact form plugin.

      转到联系人表单插件的设置屏幕。

      You will find a link to the setting screen against the entry of this plugin on the ‘Installed Plugins’ page.

      在“已安装的插件”页面上,您可以在该插件的条目中找到指向设置屏幕的链接。

      Here is a list of things that you can change

      以下是您可以更改的内容列表

        • Message: The message displayed to the user at the top of the contact form.

          消息:在联系表单顶部向用户显示的消息。

        • Message Sent Heading: The message heading or title displayed to the user after the message has been sent.

          邮件已发送标题:发送邮件后向用户显示的邮件标题或标题。

        • Message Sent Content: The message content or body displayed to the user after the message has been sent.

          已发送邮件的内容:发送邮件后向用户显示的邮件内容或正文。

        • Use this plugin’s default stylesheet: The plugin comes with a default style sheet to make the form look nice for your user.

          使用此插件的默认样式表:该插件随附一个默认样式表,以使表单对您的用户来说看起来不错。

          Untick this if you want to use your theme’s stylesheet instead.

          如果您想改用主题样式表,请取消勾选。

          The default stylesheet will simply not be linked in.

          默认样式表将根本不会被链接。

        • Use client side validation (Ajax): When ticked the contact form will be validated and submitted on the client giving your user instant feedback if they have filled the form in incorrectly.

          使用客户端验证(Ajax):勾选后,联系表单将被验证并提交到客户端,如果用户填写表单不正确,则会立即向您提供反馈。

          If you wish the form to be validated and submitted only to the server then untick this option.

          如果您希望验证表单并将其仅提交给服务器,请取消选中此选项。

        • Use reCAPTCHA: Tick this option if you wish your form to have a reCAPTCHA box.

          使用reCAPTCHA :如果您希望表单上有一个reCAPTCHA框,请勾选此选项。

          ReCAPTCHA helps to avoid spam bots using your form by checking that the form filler is actually a real person.

          ReCAPTCHA通过检查表单填充者实际上是真实的人来帮助避免垃圾邮件机器人使用您的表单。

          To use reCAPTCHA you will need to get a some special keys from google https://www.google.comecaptcha/admin/create.

          要使用reCAPTCHA,您需要从Google https://www.google.comecaptcha/admin/create获得一些特殊的密钥。

          Once you have your keys enter them into the Public key and Private key boxes

          拥有密钥后,将其输入到“公钥”和“私钥”框中

        • reCAPTCHA Public Key: Enter the public key that you obtained from here.

          reCAPTCHA公共密钥:输入您从此处获得的公共密钥。

        • reCAPTCHA Private Key: Enter the private key that you obtained from here.

          reCAPTCHA私钥:输入从此处获取的私钥。

        • reCAPTCHA Theme: Here you can change the reCAPTCHA box theme so that it fits with the style of your website.

          reCAPTCHA主题:在这里,您可以更改reCAPTCHA框主题,使其适合您的网站样式。

        • Recipient Emails: The email address where you would like all messages to be sent.

          收件人电子邮件:您希望将所有邮件发送到的电子邮件地址。

          This will default to the email address you have specified under ‘E-Mail Address’ in your WordPress General Settings.

          这将默认为您在WordPress常规设置的“电子邮件地址”下指定的电子邮件地址。

          If you want your mail sent to a different address then enter it here.

          如果要将邮件发送到其他地址,请在此处输入。

          You may enter multiple email addresses by clicking the ‘+’ button.

          您可以通过点击“ +”按钮输入多个电子邮件地址。

        • Confirm Email Address: Email confirmation is now optional.

          确认电子邮件地址:电子邮件确认现在是可选的。

          To force your user to re-type their email address tick ‘Confirm Email Address’.

          要强制您的用户重新输入电子邮件地址,请勾选“确认电子邮件地址”。

          It is recommended that you leave this option on.

          建议您保留此选项。

          If you turn this option off your user will only have to enter their email address once,

          如果您关闭此选项,则用户只需输入一次电子邮件地址,

          but if they enter it incorrectly you will have no way of getting back to them!

          但是如果他们输入错误,您将无法找回他们!

        • Email Subject: This is the email subject that will appear on all messages.

          电子邮件主题:这是将显示在所有邮件中的电子邮件主题。

          If you would like to set it to something different then enter it here.

          如果您想将其设置为其他内容,请在此处输入。

        • Override 'From' Address: If you tick this and then fill in the 'From Address:' box then all email will be sent from the given address NOT from the email address given by the form

          覆盖“发件人”地址:如果您勾选了此选项,然后填写“发件人地址:”框,则所有电子邮件将从指定地址发送,而不是表格中指定的电子邮件地址

          filler.

          填充物。

        • **Option to allow enquiry to email themselves a copy of the message.

          **允许查询向自己发送邮件副本的选项。

        • !NEW!

          !新!

          Contact consent: This option allows you to be GDPR compliant by adding a ‘Consent to contact’ check box at the bottom of the form.

          联系人同意:此选项允许您通过在表单底部添加“同意联系”复选框来符合GDPR要求。

        Demo

        演示

        This is a demonstration of this plugin working on the default Twenty Twelve theme ->

        这是此插件在默认的“十二十二”主题上工作的演示->

        Clean and Simple Contact Form Demonstration

        清洁和简单联系表演示

        >

        >

        About Meg Nicholas

        关于梅格·尼古拉斯

        I am a freelance WordPress Developer.

        我是一名自由WordPress开发人员。

        Hire me for all your WordPress needs.

        为您的所有WordPress需要雇用我。

安装步骤

There are two ways to install:

有两种安装方式:

    1. Click the ‘Install Now’ link from the plugin library listing to automatically download and install.

      点击插件库列表中的“立即安装”链接以自动下载并安装。

    2. Download the plugin as a zip file.

      以zip文件下载插件。

      To install the zip file simply double click to extract it and place the whole folder in your wordpress plugins folder, e.g.

      要安装该zip文件,只需双击以将其解压缩,然后将整个文件夹放在您的wordpress plugins文件夹中,例如

      [wordpress]/wp-content/plugins where [wordpress] is the directory that you installed WordPress in.

      [wordpress] / wp-content / plugins,其中[wordpress]是您在其中安装WordPress的目录。

    Then visit the plugin page on your wordpress site and click ‘Activate’ against the ‘Clean and Simple Contact Form’ plugin listing.

    然后访问您的wordpress网站上的插件页面,并在“清洁和简单联系表”插件列表中单击“激活”。

    To place the contact form on your page use the shortcode [cscf-contact-form]

    要在页面上放置联系表,请使用简码[cscf-contact-form]

    More information on

    更多信息

    how to use the plugin.

    如何使用插件。

下载地址
https://downloads.wordpress.org/plugin/clean-and-simple-contact-form-by-meg-nicholas.4.7.0.zip
-EOF-

AI助手支持GPT4.0