WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] [Plugin: Jetpack by WordPress.com] Change Confirmation Message in Contact Form

[Resolved] [Plugin: Jetpack by WordPress.com] Change Confirmation Message in Contact Form

  • how do i change the confirmation message when this form is submitted? Right now, it just says “Message Sent” and i need something more personal. Thanks.

    (sorry posted this a few times before realizing how to tag it for this plugin. since you cant delete posts for some reason, i just marked the others as resolved.)

    http://wordpress.org/extend/plugins/jetpack/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Beau Lebens

    @beaulebens

    You can filter the success message using the ‘grunion_contact_form_success_message’ filter.

    As an (untested) example, try putting something like this in your theme’s functions.php file:

    function amgenna_change_grunion_success_message( $msg ) {
    global $contact_form_message;
    return '<h3>' . 'My custom success message' . '</h3>' . wp_kses($contact_form_message, array('br' => array(), 'blockquote' => array()));;
    }
    add_filter( 'grunion_contact_form_success_message', 'amgenna_change_grunion_success_message' );

    That should roughly reproduce the way the message is shown now, but with “My custom success message” shown instead of “Message sent”.

    thank you! i’ll give it a try. otherwise, i suppose i could try any of the other 100 contact form plugins. =)

    This works great. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Jetpack by WordPress.com] Change Confirmation Message in Contact Form’ is closed to new replies.
Skip to toolbar