Hello,
When I go to share by email all the email sharing option does is insert the title of the article into the subject of the email. Can you also make it so the link to the article is inserted into the email as well?
Try for yourself to see what I mean with this example article: http://www.sporttechie.com/2016/08/30/sports/ncaa/psu-athletics-eon-sports-vr-launch-virtual-reality-channel/
Thanks!
1 Answers
To resolve this issue, you can open the dw-social-share.php file in the plugins/dw-social-share folder and find the line 44 – 46 and replace it with the following code:
case 'mail':
$social .= ' <li class="list-group-item"><a href="mailto:?Subject=<?php the_title(); ?>&body=<?php the_permalink(); ?>"><?php _e( '<i class="fa fa-envelope"></i> Email this article', 'dw-focus' ); ?></a></li>';
break;
Please login or Register to submit your answer