JetPack Contact Form Success Message

Omschrijving

JetPack Contact Form Success Message replaces the default success message showing after successfully submitting a contact form, with your custom message.

This little plugin can be handy for telling your clients about the deadlines to reply, how long it is going to take to get a reply to their contact, etc..

You can also filter entire post/page content to display only the success message, in case of course the contact form is sent.

You can style the message better, there is a filter jpcfsm_message_content_loaded you can use for this regard. Assuming for example you want to wrap the message in a green box with a black border, this code can help you achieve it easily without the need to use extra plugins or style thrugh the content editor:

Add to your child theme’s functions file:

add_filter('jpcfsm_message_content_loaded', function($message) {
    return '' . $message . '';
});

For support threads please use the support section of this plugin here on the forums. If you want to send out a private note or idea or something, then you can contact me here

Thank you!
TODO: Format the message with contact form submitted user data

Installatie

  • Install and activate the plugin:
  1. Upload the plugin to your plugins directory, or use the WordPress installer.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.

FAQ

I am getting the default JetPack success message, what is wrong?

You must set a custom message in the plugin settings first in order for the plugin to use it to filter the default JetPack message.

Beoordelingen

Thanks

I have manually added the relevant code as found on your blog, I suppose, but wanted to thank you for this plugin too. 🙂 Simple change but creates a good difference.

Perfect, thanks very much!

I wanted to edit the Jetpack contact form success message without editing the PHP and this plugin did exactly what I needed. It worked straight away. I like the fact that the settings page – where you add the confirmation message – uses the WordPress WYSIWYG editor as this allows you to format the text as needed.

There are a couple of minor improvements that would make this plugin even better, but it works very well as it is. I have listed these in a more in-depth review which you can read at: http://barn2.co.uk/jetpack-contact-form-confirmation-message/

Thanks very much!

Lees alle 3 beoordelingen

Bijdragers & ontwikkelaars

“JetPack Contact Form Success Message” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Changelog

0.4.2

  • Fixed Error having the whole content filtered when no form is sent yet (if filter content setting is on)

0.4

  • Fixed self calls with new Self, which is supported in PHP >= 5.5 only
  • Removed PHP version check: the plugin should work with any version.

0.3

  • See https://wordpress.org/support/topic/needs-an-update-16/
  • Fixed – https://wordpress.org/support/topic/cyrillic-messages-support/
  • i18n for admin

0.2

  • Improved settings page.
  • Added ability to filter entire post/page content and show only the success message when the form is sent.

0.1

  • Eerste release.