This topic has 4 replies, 3 voices, and was last updated 9 years, 10 months ago ago by Eva Kemp
Hi
I understand (and have) added the following to shortcodes.php:
<div class="form-group">
<p class="form-name">
<label for="contact-tele" class="control-label"><?php _e('Tele', ETHEME_DOMAIN) ?> <span class="required">*</span></label>
<input type="text" name="contact-tele" class="required-field form-control" id="contact-tele">
</p>
</div>
But how do I get that field to be included in the email that gets sent out? Where is the message code please.
thanks
Hello,
You need edit also theme-functions.php (find the section “! Send message from contact form”) in the directory wp-content/themes/royal/framework.
Thank you.
Regards,
Eva Kemp.
Hi Eva,
Regarding this. What would you need to edit in /functions.php to show the phone number in the body of the email message?
Thanks
Hello,
If you’re using child theme you need copy the function from theme-functions.php you want to modify and add it to functions.php of the child theme.
Thank you.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up