Hello!
Need to modify contact form – remove name and website fields.
I’ve edited shortcodes.php, commented
<div class=”form-group”>
<p class=”form-name”>
<label for=”name” class=”control-label”><?php _e(‘Name and Surname’, ETHEME_DOMAIN) ?> <span class=”required”>*</span></label>
<input type=”text” name=”contact-name” class=”required-field form-control” id=”contact-name”>
</p>
</div>
and
<div class=”form-group”>
<p class=”form-name”>
<label for=”contact-website” class=”control-label”><?php _e(‘Website’, ETHEME_DOMAIN) ?></label>
<input type=”text” name=”contact-website” class=”form-control” id=”contact-website”>
</p>
</div>
code.
But when I try to send message via contact form, I receive “Please, fill in the required fields!”
So, how can I fix this?
Thanks!