rexrana/themeable-contact-form
Composer 安装命令:
composer require rexrana/themeable-contact-form
包简介
A simple contact form plugin for WordPress that allows you to customize the template to match your theme
README 文档
README
Contributors: peterhebert
Tags: contact form, contact, form, bootstrap, foundation
Requires at least: 4.4
Tested up to: 6.8.3
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
A simple contact form plugin that allows you to customize the template to match your theme
Description
This plugin creates a simple contact form that allows you to customize the template to match your theme.
The contact form has only three fields, which is great for keeping things simple:
- name
- message
All fields are required in order to submit the form.
Upon successful submission, a simple thank you message will be displayed to the visitor. This message can be customized on the settings page.
Form Security
The plugin uses WordPress' nonce field functionality, as well two honeypot fields in order to prevent spam submissions.
All submitted data is validated and sanitized using the GUMP PHP input validation class.
Form Templates
The form has three basic styles:
- Plain - only basic styles applied; uses the browsers' native field validation along side the server side validation
- Bootstrap - Bootstrap 4 markup and client side validation
- Foundation - Foundation 6 for Sites markup and Abide client-side validation
Note - the Bootstrap and Foundation templates only provide the HTML markup. Your theme must include either the Bootstrap 4 or Foundation 6 framework in order to make the form display and for the client-side validation to function properly.
In addition to these templates, you can override the form display with custom markup to match your theme. Simply copy the default template templates/contact-form.php to contact-form/contact-form.php within your theme, and then make sure to select 'Default' under 'Form Template' in the plugin settings page.
Installation
- Extract the plugin .zip and upload folder to the
/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to 'Settings > Contact Form' in the WordPress admin to customize your email and template settings.
- Insert shortcode
[themeable_contact_form]in your contact page to place form.
Frequently Asked Questions
Screenshots
Changelog
1.0.0
First stable release. Removed dependency on RationalOptionsForm class better conformity with WordPress coding standards.
0.3.3
Updated composer and node dependencies. Looser restriction on composer/installers
0.3.2
Updated composer and node dependencies.
0.3.1
Updated composer dependencies, installation instructions.
0.3.0
Properly retrieve saved plugin options for send email to.
0.2.0
Properly retrieve saved plugin options for email from name and address.
0.1
Initial plugin release.
rexrana/themeable-contact-form 适用场景与选型建议
rexrana/themeable-contact-form 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 31 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 05 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「form」 「bootstrap」 「wordpress」 「contact」 「contact form」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rexrana/themeable-contact-form 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rexrana/themeable-contact-form 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rexrana/themeable-contact-form 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Diese Contao 4 Erweiterung stellt Google reCAPTCHA V2 in Form eines neuen Formularfeldes im Formulargenerator bereit. This extension provides Google reCAPTCHA V2 in the form of a new form field in the form generator of Contao Open Source CMS.
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
A Laravel Filament Forms slug field.
A jQuery augmented PHP library for creating and validating HTML forms
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2018-05-29