Staff email


#1

Love the theme, but the staff post box on the front page has an issue if you use the email field. You don’t get a mailto: you get the site url with the email address on the end like http://dslife.mollysdailykiss.com/molly@mollysdailykiss
Am I not using this field properly?
This site is NSFW


#2

Hi,

Thanks for reporting this. It was Live Composer plugin issue, we will contact the plugin developer about this issue, meanwhile you can fix it manually by following this steps below:

  1. Go to your site directory and open wp-content\plugins\live-composer-page-builder\modules\staff\module.php
  2. Change this line:
<?php if ( $social_email ) : ?>
												<a target="<?php echo $options['social_link_target']; ?>" href="<?php echo $social_email; ?>"><span class="dslc-icon dslc-icon-envelope"></span></a>
											<?php endif; ?>

to:

<?php if ( $social_email ) : ?>
												<a target="<?php echo $options['social_link_target']; ?>" href="mailto:<?php echo $social_email; ?>"><span class="dslc-icon dslc-icon-envelope"></span></a>
											<?php endif; ?>

Regards,
Awan


#3

Thanks Awan,
That did the trick