Can I change id from email in comments.php?
-
I have a conflict between the default wordpress comments.php and a plugin for newsletter signup via phplist. The line in comments.php is:
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> <label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>Can I change the “id” and “label for” from email to something unique without causing a problem? I’m thinking something like:
<p><input type="text" name="email" id="comment-author-email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> <label for="comment-author-email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>Will that work? Do I need to also change anything else in another file or in the database?
Thanks
The topic ‘Can I change id from email in comments.php?’ is closed to new replies.