Staff Email

Hi!
I am running Westpro and using the staff custom post, When I add staff email, it does not work when someone clicks on the email overlay
Link to the screen shot https://goo.gl/ZVGmLS

Link to the page https://www.ksacp.net/about-us/directors/

What am I missing?

Hello there,

What version of Live Composer plugin are you running?

Regards,
Kharis

Hi Kharis,
I am running Version 1.1.4

Hello there,

It seems like there is a bug with the Live Composer plugin. That’s why the email output doesn’t work as it should. To temporarily fix it, try doing the following steps:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box

(function($){

  $('.dslc-staff-member').each(function(){

    var emailLink = $(this).find('.dslc-icon-envelope').parent('a');
    var emailAttr = emailLink.attr('href');
    
    emailLink.attr('href', 'mailto:'+emailAttr);
    
  });
  
})(jQuery);

  1. Update

You would clear your web browser’s cache before reloading your site to see the code addition takes affect. If your site is being cached by a plugin like W3 Total Cache, empty all cache as well, please.

Regards,
Kharis

Hi Kharis!
Thanks a bunch, it is now working!
Have a great weekend.

Hello there,

Thank you for updating me. I am glad to know that the code worked for you. It seems like we wouldn’t have more discussion here, so I would like to mark this thread as resolved. If you have any further questions or if we can provide you with any other assistance, please feel free to open a new topic.

Warm regards,
Kharis