Mukul M
asked 5 years ago

Hi
I have a strange problem… in the sharing post by email option (left vertical icons), it opens a blank compose page in my email client, with the post title as the subject line, but no post content or a link to the content. Please advise.
Cheers
Mukul

2 Answers
Cover
answered 5 years ago

Hi Mukul 
At the moment this theme does not support the replacement of body content when share via email.
But if you want to replace body content,  follow the instructions below:
Open file:
content-modal.php (wp-content/theme/dw-fixel/content-modal.php) line 8
and 
single.php (wp-content/theme/dw-fixel/single.php) line 18
And replace them by this following code : 

 <li><a class="email" href="mailto:?Subject=<?php echo rawurlencode( get_the_title() ); ?>&Body=<?php echo rawurlencode( 'Some text you want to add to the body content' ); ?>" title="<?php _e('Email this post',DW_TEXTDOMAIN) ?>"><i class="icon-envelope-alt"></i></a></li>

You can read more about Mailto guidelines here : 
http://www.tutorialspark.com/html5/HTML5_email_mailto.php
Hope this helps

DominicStaff
answered 5 years ago

Please refer the answer of @cover provided. If you still face there issue, please let us know.
Regards,

Powered by DW Question & Answer Pro