WordPress.org

Ready to get started?Download WordPress

Forums

WP Email Capture
[resolved] changing values etc. in the form (7 posts)

  1. sopvib
    Member
    Posted 2 years ago #

    Clearly I must be missing something, but I cant seem to figure where to change the form. Eg. I want to change "Name:" and the value of the submit button, to my own language. I tried editing the display.php file where I can see the form is "echoed" but my changes doesnt show up...

    HELP, please! Anyone..... Thanks

    http://wordpress.org/extend/plugins/wp-email-capture/

  2. dorothai
    Member
    Posted 2 years ago #

    Why don't you translate it -> language files .po and .mo should be in plugin folder. You can install CodeStyling Localization Plugin and can edit it easily.

  3. tanelid
    Member
    Posted 2 years ago #

    This doesn´t work for me. I can´t find the text of the submit button: “Subscribe To Updates” in the language file. In fact, I can´t find it anywhere!

  4. stormymondays
    Member
    Posted 2 years ago #

    You are right, the submit button is not on the translation file. I found it on line 28 of "display.php", but I hope the author includes it on the file.

    In fact, it should be easier to add the Name, Email and Submit text to the widget. :)

  5. Ben Grunfeld
    Member
    Posted 2 years ago #

    Hey,

    It took me 2 hours, but i found it. Really embarrassed it took me that long, but what can you do.

    Anyhoop - if you go to display.php, and indeed on line 28 you have the line of code. All you need to do is delete the code that says class="wp-email-capture-submit", and then the button will use whatever is in the value="" as the text on the button.

    I'm guessing that trick will work for everything else too.

    Good luck, and I'm hoping the guy who wrote this plugin learns a thing or 2 about being user friendly, cause that was ridiculous!

  6. Rhys Wynne
    Member
    Plugin Author

    Posted 2 years ago #

    This has been updated in the latest version.

  7. vincentnaurais
    Member
    Posted 2 years ago #

    TO edit the button go to installed plugin, on wp email capture click Edit, edit the last page (on the right you have the list of the pages). The name of the page is: wp-email-capture/inc/display.php
    This is the code you were looking for:
    <input name="Submit" type="submit" value="<?php _e('Submitsss','WPEC'); ?>" class="wp-email-capture-submit" />
    I already type -Submitsss- to show you where you can write whatever you want to see on the button.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic