NiceThemesappointment widget – NiceThemes http://nicethemeswp.com/forums/topic/appointment-widget-3/feed/ Wed, 23 Apr 2025 15:00:41 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/appointment-widget-3/#post-4557 <![CDATA[appointment widget]]> http://nicethemeswp.com/forums/topic/appointment-widget-3/#post-4557 Mon, 15 Sep 2014 11:01:47 +0000 italosan 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

]]>
http://nicethemeswp.com/forums/topic/appointment-widget-3/#post-4561 <![CDATA[Reply To: appointment widget]]> http://nicethemeswp.com/forums/topic/appointment-widget-3/#post-4561 Mon, 15 Sep 2014 21:04:38 +0000 Andrés Villarreal Hi italosan!

The email gets constructed in the nice_contact_ajax() function. You’ll find that function in functions.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 your functions.php file.
2. Create a plugin, declare nice_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.

]]>
http://nicethemeswp.com/forums/topic/appointment-widget-3/#post-4564 <![CDATA[Reply To: appointment widget]]> http://nicethemeswp.com/forums/topic/appointment-widget-3/#post-4564 Mon, 15 Sep 2014 21:26:11 +0000 Andrés Villarreal Oh, 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!

]]>