• Resolved sopvib

    (@sopvib)


    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    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!

    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. 🙂

    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!

    Plugin Author Rhys Wynne

    (@rhyswynne)

    This has been updated in the latest version.

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Email Capture] changing values etc. in the form’ is closed to new replies.