How to Allow Users Email Your Posts to a Friend in Blogger

ANMOL
0
Have you ever seen those websites that allow your readers to Email posts to a friend or other type of content? Do you want to have an option that allows your readers to send your post to a friend via Email? Allowing your users to Email your post to a certain Email Address  can bring commendable and targeted traffic to your website. In this article, we will show you how to allow users to email your posts to a friend in blogger?


 

 

For Default Blogger Templates:

Must Read - How To Add Image Tilt Image Hover Effect on Blogger Posts

If you are using default blogger templates provided by blogger.com, then you don’t have to worry a lot. In order to display the “Email Post to a Friend” button, you just need to enable a function from settings. Go to Blogger >> Layout >> Blog Posts >> Edit >> Then, on the window that pops up, scroll down and check the box for "Show Email Post Links.".


Once everything is done, press “Save” button to complete the whole process.




For Custom Blogger Templates:

First and foremost, login into your Blogger Account.  Once logged in, go to Your Blog >> Template >> Edit HTML and search for the <data:post.body/> Tag. After finding the post.body tag, just below it past the following piece of coding (Mostly, there are more than one <data:post.body/> tags so be sure you paste the following code after all of them).


<!-- email post links -->
        <b:if cond='data:post.emailPostUrl'>
          <span class='item-action'>
          <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
              Email this Post to a Friend
          </a>
          </span>
        </b:if>

Must Read - How to Add Floating Facebook Likebox in Blogger

Once everything is done, all you need to do is to save your template by pressing “Save Template” button. You can check your blog, to see if everything is working fine or not. Since we have used <b:if> conditions so users


Whenever a reader will click on the "Send Email" link, he will be redirected to blogger.com where he can enter upto 10 email address separated by a comma. Along with the post content, he can also write a small message to his friend. However, this feature is not to be used for advertising or excessive self-promotion.

Post a Comment

0Comments

Post a Comment (0)