[wordpress插件] CPT Contact FormCPT联系表

wordpress 插件 文章 2020-04-04 07:50 476 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin, like many others, provides a shortcode to add a simple contact form in any page of your site.

与许多其他插件一样,该插件提供了一个短代码,可在您网站的任何页面中添加简单的联系表。

The difference is that messages are stored on-site, using a custom post type.

区别在于,消息使用自定义帖子类型在现场存储。

Instead of sending the whole message by e-mail, just a

而不是通过电子邮件发送整个邮件,只需一个

notification is sent in configurable intervals.

通知以可配置的间隔发送。

The shortcode syntax is the following:

简码语法如下:

[cpt-contact-form] 

  [cpt-contact-form]  

Please note that no default styling is provided, so if the form looks crappy, you’ll have to find a way to provide the

请注意,没有提供默认样式,因此,如果表单显得笨拙,则必须找到一种方法来提供

relevant css yourself, by adjusting your child theme’s style.css or otherwise.

调整子主题的style.css或其他相关的css。

When a message is stored, shortcodes are stripped and html attributes are escaped.

存储消息时,将剥离短代码,并转义html属性。

Although, I’m planning to add a configuration option for that in the future.

虽然,我计划将来再添加一个配置选项。

The plugin is in (hopefully correct) English, but a Greek translation is provided as well.

该插件使用英语(希望是正确的),但也提供了希腊语翻译。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Upload the cpt-contact-form folder to the /wp-content/plugins/ directory
    2. cpt-contact-form 文件夹上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Flush the reqrite rules by visiting the permalinks page in Settings
    6. 通过访问“设置”中的“永久链接”页面来刷新reqrite规则

    7. Place a [cpt-contact-form] shortcode on the page(s) you want the form to appear
    8. 在要显示表单的页面上放置 [cpt-contact-form] 短代码

下载地址
https://downloads.wordpress.org/plugin/cpt-contact-form.0.2.2.zip
-EOF-

AI助手支持GPT4.0