WordPress.org

Ready to get started?Download WordPress

Forums

ALO EasyMail Newsletter
replace label for placeholder (1 post)

  1. mbtocalli
    Member
    Posted 1 year ago #

    I'm trying to replace 'Name' and 'Email' labels from the subscribe widget with the corresponding placeholders. I succesfully did it replacing line 112 of alo-easymail-widget.php:
    $html .= " <td><label for='opt_name'>".__("Name", "alo-easymail")."</label></td>"; //edit : added the "label" element for better accessibility
    with this one:
    $html .= " <td><input type='text' name='alo_em_opt_name' value='". $alo_em_opt_name ."' id='opt_name' maxlength='50' class='input-text' placeholder='".__( 'Name', 'alo-easymail' )."' /></td>\n";
    and I did the same with line 115.

    The problem is that I'm editing some core files and everytime I update the plugin, I lost the custom modifications. How can I do this modifications using the functions.php file?

    Thanks for your help!!

    http://wordpress.org/extend/plugins/alo-easymail/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic