WordPress.org

Ready to get started?Download WordPress

Forums

Constant Contact for WordPress
[resolved] Constant Contact API Sign Up Button (5 posts)

  1. Trevor01
    Member
    Posted 1 year ago #

    I was hoping you could help me with a quick question. I'm using the Constant Contact API plugin on a WordPress page that displays a simple form and includes a name and email address field. Below it there is a button that says "Sign Up". My question, is there a way to change the button copy from "Sign Up" to "Sign In", or "Enter"?

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

  2. karl19
    Member
    Posted 1 year ago #

    We're also looking for a way to change the "Signup" button text. Ideally, this would be editable in the widget.

    If this could be added, it would also be great if it could be translatable! We're using WPML for a multilingual site and can translate the widget title, email and name, so it'd be great to be able to not only change the button text in English, but translate it for different languages.

  3. karl19
    Member
    Posted 1 year ago #

    This doesn't really help in terms of editing the field in the widget, but if I change line #222 of widget-legacy.php, to:

    $submit_button = '<input type="submit" name="constant-contact-signup-submit" value="' . __('Sign Up') . '" class="button submit" />';

    then I can at least alter the button text, plus translate the text in the WPML string translator. But will of course lose any changes when plugin is updated.

  4. Zack Katz
    Member
    Plugin Author

    Posted 1 year ago #

    I've added a setting for the submit button text in the next update. Thanks for the idea.

  5. karl19
    Member
    Posted 1 year ago #

    Excellent work, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic