CF7 Static Form & Mail Content
Contributors: herooutoftime Donate link: http://www.herooutoftime.com Tags: contact form, contact form 7, cf7 Requires at least: 3.0.1 Tested up to: 3.4 Stable tag: 4.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html
Make CF7 (ContactForm 7) form & emails served via static files
This plugin was written to ease the work with Contact Form 7, one of the most popular Wordpress plugins, by making all HTML related content available through static files. By placing additional settings in each form you can decide to statify your form & email contents.
- Your forms and mails will be available through your filesystem and therefore easy to edit.
- You can enable
premailerto inline all your CSS automatically for each email you want to send.
premailerenabled your emails will be
multipart: HTML & plain text
This plugin is in an early stage. Please use with caution
You will either need
PHP extension installed and enabled to use Premailer service.
git clone firstname.lastname@example.org:herooutoftime/cf-statifier.git
- Or download the ZIP and upload to
- Activate the plugin through the 'Plugins' menu in WordPress
static_file_enabled: yes static_file_form: yes static_file_mail: yes static_file_mail_premailer: yes static_file_mail_2: yes static_file_mail_2_premailer: yes
CF7-Statifier implements all options available through Premailer-API Add like above to *Additional settings`
static_file_premailer_fetchresult: yes | no static_file_premailer_adaptor: nokogiri | hpricot static_file_premailer_base_url: http://www.example.com static_file_premailer_line_length: 75 static_file_premailer_link_query_string: ?utm_source=newsletter&utm_medium=email&utm_campaign=mycampaign static_file_premailer_preserve_styles: yes | no static_file_premailer_remove_ids: no | yes static_file_premailer_remove_classes: no | yes static_file_premailer_remove_comments: no | yes
Files will be written to the following directories (depending on your settings):
- Form & unprocessed mail(s):
- Processed mail(s):
- These files are regenerated when saving a CF7-entry!
Frequently Asked Questions
- Q: Where should I store my static files for CF7?
- A: The plugin searches for static files in your theme's directory via
- Basic version