WordPress.org

Ready to get started?Download WordPress

Forums

Constant Contact for WordPress
[resolved] Changing Submission Success Message (4 posts)

  1. allproactive
    Member
    Posted 2 years ago #

    How do I change the text of the message received after submission that appears within the widget? Currently, it reads: Success, you have been subscribed. I changed this line in the constant-contact-api/functions.php file but it didn't change anything.

    http://wordpress.org/extend/plugins/constant-contact-api/

  2. nakris
    Member
    Posted 2 years ago #

    +1, I'm looking for the same thing.

  3. Zack Katz
    Member
    Plugin Author

    Posted 2 years ago #

    You can add a constant_contact_form_success filter to achieve this.

    Add this to your theme's functions.php file:


    add_filter('constant_contact_form_success', 'custom_constant_contact_success_message');
    function custom_constant_contact_success_message($success = '') {
    return '<h3>My custom HTML here.</h3>';
    }

  4. nakris
    Member
    Posted 2 years ago #

    Worked perfectly - thanks Zack!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic