[Plugin: ALO EasyMail Newsletter] replace label for placeholder
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!!
- The topic ‘[Plugin: ALO EasyMail Newsletter] replace label for placeholder’ is closed to new replies.