Mukul M
asked 9 years ago

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.

2 Answers
answered 9 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
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 :
Hope this helps

answered 9 years ago

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

Powered by DW Question & Answer Pro