appointment widget
This support request was posted in Paeon by italosan
- italosan September 15, 2014 at 11:01 am
Hello nicethemes,
there is any way to configure the appointment widget and his answer e-mail?
For example how can I change the email address who will be shown? (at the moment is “wordpress@yourdomain.com”)I don’t care if I need to head in to code, just tell me where 🙂
all the best
Andrés Villarreal September 15, 2014 at 9:04 pmHi italosan!
The email gets constructed in the
nice_contact_ajax()
function. You’ll find that function infunctions.php
, inside the main folder of the theme. If need to change how the email looks, what you need to do is to override that function by creating one with the same name at a previous point. You can do that in any of the following ways:1. If you’re using a child theme, just create
nice_contact_ajax()
in yourfunctions.php
file.
2. Create a plugin, declarenice_contact_ajax()
in the main file, and then activate the plugin. Or just do it through an mu-plugin if you don’t want to do the activation thing.I’d suggest you to copy and paste the whole function as it is right now, and just modify the parts you want to change. However, since I don’t know how much you can deal with code, maybe I’d need you to provide us with some more information about what you need to modify, or some access to the site you’re working on to see how the widget is being implemented. If you want to give us access, you can send that information to andres@nicethemeswp.com.
Hope this helps 🙂
Best Regards.
Andrés Villarreal September 15, 2014 at 9:26 pmOh, and by the way, if you’re talking about changing the email where the appointment messages are sent to, that can be set in Nice Themes > Theme Options > Contact Information. If there’s no email set, the default admin email will be used instead.
Best Regards!
You must be logged in to reply to this topic.