Contact Coldform

      Geen reacties op Contact Coldform


Contact Coldform is a secure, lightweight, flexible contact form with plenty of options and squeaky clean markup. Coldform blocks spam while making it easy for your visitors to contact you from your WordPress-powered website. The comprehensive Settings Page makes it easy to take full control with plenty of options and several built-in themes for styling the form. Coldform delivers everything you need and nothing you dont no frills, no gimmicks, just pure contact-form satisfaction.

Gutenberg: works perfectly with or without Gutenberg
For Ajax-powered contact form, check out CFX


  • Use shortcode or template tag to display Coldform anywhere
  • Coldform sends descriptive, well-formatted plain-text email
  • Safe and secure: Coldform blocks spam and malicious content
  • Lightweight, standards-compliant, semantic, valid HTML markup
  • Easy to configure and style from the Coldform Settings page


  • Slick toggle-panel Settings Page makes it easy to customize
  • Style Coldform using built-in “coldskins” or use custom CSS
  • Use template tag to display Coldform anywhere in your theme
  • Use shortcode to display Coldform on any WP Post or Page
  • Displays customizable confirmation message to the sender

Anti-spam Security

  • Anti-spam: Coldform includes optional challenge question
  • Bot trap: hidden input field further reduces automated spam
  • Solid security: protects against bad bots and malicious input
  • User-friendly error messages to help users complete the form

Customize Everything

  • Includes option to enable users to receive carbon copies
  • Coldform message includes IP, host, agent, and other details
  • Customize field captions, error messages, and success message
  • Includes three built-in themes “coldskins” to style, or
  • Style the Coldform with your own custom CSS
  • Option to add a custom prefix to the subject line
  • Option to disable the captcha for registered users

Clean Codes

Coldform brings delicious code on every front:

  • Squeaky-clean PHP: every line like a fine wine
  • Valid, semantic source code with proper formatting
  • Coldform emails include descriptive, well-formatted content
  • Better performance: CSS loaded only when form is displayed

More Features

  • Works perfectly without JavaScript
  • Option to reset default settings
  • Options to customize many aspects of the form
  • Options to customize success, error, and spam messages
  • Option to enable and disable CSS styles

Like Contact Coldform? Please give a 5-star rating, thank you!


This plugin enables visitors to send a message via contact form. Any information the user enters into the form will be sent directly to the recipient(s) according to plugin settings. This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party location(s).

Note: Please see the plugin setting “Disable Data” to enable or disable inclusion of the sender’s IP address, user agent, and other data.

Support development of this plugin

I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:

  • The Tao of WordPress
  • Digging into WordPress
  • .htaccess made easy
  • WordPress Themes In Depth

And/or purchase one of my premium WordPress plugins:

  • BBQ Pro – Super fast WordPress firewall
  • Blackhole Pro – Automatically block bad bots
  • Banhammer Pro – Monitor traffic and ban the bad guys
  • GA Google Analytics Pro – Connect your WordPress to Google Analytics
  • USP Pro – Unlimited front-end forms

Links, tweets and likes also appreciated. Thanks! 🙂


  1. Contact Coldform: Contact form displayed via Twenty Sixteen theme

    Contact Coldform: Contact form displayed via Twenty Sixteen theme

  2. Contact Coldform: Settings page showing default options (each panel toggles open/closed)

    Contact Coldform: Settings page showing default options (each panel toggles open/closed)


Where does the shortcode go? Where does the template tag go?

The shortcode may be used on any Post or Page. For example, if you log in to the Admin Area and view a Page named “Contact”, you can add the shortcode anywhere in the Page content to display the form. To use the template tag, add it to the desired location in your theme template. For example, if you have a custom page template named page-contact.php, you could add the template tag directly after ?php the_content(); ? to display the form.

Where does the CSS go? How do I change the CSS for the form?

Visit the “Appearance and Styles” panel in the plugin settings. There you may configure appearance and add custom CSS for the form.

Can I add multiple Coldforms to my site?

Yes, you can add multiple instances of the shortcode and/or template tag.

What is the plugin setting for the “From” email header?

That setting enables you to customize the address used as the “From” header for email messages. If your email address is a domain-based address, then this setting should be the same as the previous Email setting. Otherwise, if you are using a 3rd-party email service, this setting should be a local, domain-based address. If you find that email messages are getting sent to the spam bin, this setting may help. Note: if the setting is left blank, the “Your Email” address will be used as the “From” address.

Questions Comments

I try to keep an eye on the WordPress forums, but it’s best to contact me directly with questions or concerns. Thanks.



  1. Install and activate via the Plugins screen
  2. Visit the plugin settings to configure options

More info on installing WP plugins


To display Coldform on any Post or Page, add the Shortcode:


To display Coldform anywhere in your theme, add the Template Tag:

?php if (function_exists('contact_coldform_public')) contact_coldform_public(); ?


To customize Coldform, visit the plugin settings. For advanced customization, check out CSS hooks for Contact Coldform. For more information, visit the Coldform Homepage.

Like the plugin?

If you like Contact Coldform, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!


FYI: For a much better contact-form plugin, check out Contact Form X. CFX is lighter, faster, and better than Contact Coldform in every way. Same great developer, waaaaay better code 🙂

Version 20190428

  • Bumps minimum PHP version to 5.6.20
  • Tweaks plugin settings screen content
  • Updates default translation template
  • Tests on WordPress 5.2

Version 20190304

  • Tweaks plugin settings screen UI
  • Generates new default translation template
  • Tests on WordPress 5.2 (alpha)

Version 20190220

  • Compatibility tests on WordPress 5.1

Version 20181112

  • Adds homepage link to Plugins screen
  • Updates default translation template
  • Tests on WordPress 5.0 (beta)

Version 20180813

  • Adds rel="noopener noreferrer" to all blank-target links
  • Updates donate link
  • Updates GDPR blurb
  • Adds Contact Form X blurb
  • Regenerates default translation template
  • Further tests on WP versions 4.9 and 5.0 (alpha)

Version 20180506

  • Adds option to disable user data collection (IP, user agent, et al)
  • Generates new translation template
  • Adds support for multiple “To” addresses
  • Updates Show Support panel
  • Updates plugin image files
  • Tests on WordPress 5.0

Version 20171103

  • Removes extra manage_options requirement for settings
  • Tests on WordPress 4.9

Version 20171019

  • Adds extra manage_options capability check to modify settings
  • Improves logic of contact_coldform_require_wp_version
  • Streamlines Support panel in plugin settings
  • Tests on WordPress 4.9

Version 20170730

  • Fixes “captcha can’t be disabled” bug
  • Adds GPL license.txt file
  • Tests on WordPress 4.9 (alpha)

Version 20170322

  • Tweaks info panels on settings page
  • Refines styles for admin notices
  • Adds option to customize the From email address
  • Adds nonce security to contact form
  • Removes get_permalink() from form action attribute
  • Improves styles of default success message
  • Adds default charset to htmlentities()
  • Generates new default translation template
  • Tests on WordPress version 4.8

Version 20161114

  • Fixed various PHP Notices
  • Refactored and refreshed entire codebase
  • Improved sanitization of submitted form content
  • Improved sanitization of contact_coldform_validate_options()
  • Improved logic of contact_coldform_register_style()
  • Improved logic of contact_coldform()
  • Beefed up abbr styles on settings page
  • Defined color for form error messages
  • Defined padding on fieldset elements
  • Changed Twitter URL to https
  • Updated plugin author site URL
  • Updated URL for rate this plugin links
  • Changed stable tag from trunk to latest version
  • Refined default settings (single quotes to double quotes)
  • Double quotes now allowed in success and error messages
  • Added German translation
  • Regenerated default translation template
  • Tested on WordPress version 4.7 (beta)

Version 20160810

  • Improved translation support
  • Replaced _e() with esc_html_e() or esc_attr_e()
  • Replaced __() with esc_html__() or esc_attr__()
  • Removed support for Intranet Plus plugin
  • Refined some styles on the settings page
  • Tested on WordPress 4.6

Version 20160329

  • Added Reply-To header
  • Removed quotes from Content-Type header
  • Added screenshots to assets (repo)
  • Added 1544×500 banner to assets (repo)
  • Replaced Coldform icon with retina version
  • Added UTF-8 default to blog_charset option
  • Added support for Intranet Plus plugin
  • Tested on WordPress 4.5 beta

Version 20151109

  • Updated minimum version requirement
  • Update heading hierarchy on settings page
  • Fixed incorrect escaping for quotes
  • Refined contact_coldform() function
  • Added coldform_sanitize_text() function
  • Removed word wrap for message content
  • Updated whois lookup link in emails
  • Added support for HTTPS
  • Tested on WordPress 4.4

Version 20150808

  • Tested on WordPress 4.3
  • Updated minimum version requirement

Version 20150507

  • Tested with WP 4.2 + 4.3 (alpha)
  • Changed a few “http” links to “https”

Version 20150314

  • Tested with latest version of WP (4.1)
  • Increased minimum version to WP 3.8
  • Removed deprecated screen_icon()
  • Removed redundant htmlentities()
  • Replaced htmlentities() with sanitize_text_field()
  • Added $contact_coldform_wp_vers
  • Streamline/fine-tune plugin code
  • Added Reply-To and Return-Path to email headers
  • Added Text Domain and Domain Path to file header
  • Replaced default .mo/.po templates with .pot template

Version 20140922

  • Tested with latest version of WP (4.0)
  • Added option to show/hide the website field
  • Increased minimum version to WP 3.7
  • Added conditional check for minimum version function
  • Updated mo/po translation files

Version 20140305

  • Improved localization support
  • Generated new mo/po templates
  • Bugfix: undefined index: coldform_carbon
  • Bugfix: replaced ‘gmt_offset’ with ‘coldform_offset’
  • Update: changed the description and default option for GMT setting

Version 20140123

  • Tested with latest version of WordPress (3.8)
  • Added option to display or not display the anti-spam/captcha field
  • Added trailing slash to URL for load_plugin_textdomain()

Version 20131107

  • Added uninstall.php file
  • Added “rate this plugin” links
  • Added support for i18n

Version 20131103

  • Edited readme.txt install steps for clarity
  • Removed “” from die() for better security
  • Tested plugin with current version of WordPress (3.7)

Version 20130725

  • Tightened form security
  • Tightened plugin security

Version 20130704

  • Added localization support
  • Cleaned/updated/optimize code
  • Overview and Updates admin panels now open by default
  • Resolve PHP Notices for “Undefined variable” and “Undefined Index”
  • Changed the placeholder attribute of the antispam field

Version 20130103

  • Added margins to buttons (now required due to CSS changes in WP 3.5)

Version 20121119

  • Now supports both shortcodes: [coldform] and [contact_coldform]
  • Renamed register_my_style() to contact_coldform_register_style()
  • Removed border on all fieldsets via CSS
  • Added padding to input and textareas via CSS
  • Replaced answer with question in anti-spam placeholder
  • Added placeholder attributes to error fields
  • Fixed styles to load on success page

Version 20121031

  • rebuilt with cleaner, smarter code
  • restructured markup, cleaner hooks
  • revamped settings page with toggling
  • includes three “coldskins” for styling
  • enable user to upload custom CSS styles
  • toggle on/off the built-in coldskins
  • conditional load of styles only on Coldform
  • improved markup for required, error, success output
  • option to disable the captcha for registered users
  • now use admin email, name, site title by default
  • now using built-in wp_mail for email
  • removed the credit link and option
  • add option for subject line prefix
  • add HTML5 placeholder attributes
  • add hidden anti-spam field

Version 0.88.1

  • Compatibility with WordPress version 2.8.1 by setting admin_menu.

Version 0.88.0

  • Initial release.