Home | Looking for something? Sign In | New here? Sign Up | Log out

Wednesday, 4 January 2012

How to Add LinkedIn Button?

Wednesday, 4 January 2012

It’s a button which will not show any count but your blog readers can still share your content.
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:post.isFirstPost'><script src='http://platform.linkedin.com/in.js' type='text/javascript'/></b:if><script expr:data-url='data:post.url' type='in/share'/>
</b:if>

Add LinkedIn Button to Blogger Posts

Step 1: Go to Blogger’s Dashboard > Design > Edit HTML tab and check “Expand Widget Templates”.


Step 2: Find <data:post.body/> and before it add any one of the snippets mentioned above.


Step 3: Save your template.


So at last, after Tweet button and Facebook Like Button, you can now share your work within professional social site LinkedIn in just one click.

To be noted:
Conditional tags marked in red are used to show this widget on every page except static pages. If you want to show this in only post pages then use:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
[LinkedIn code goes here]
</b:if>

0 comments:

Post a Comment

Translate

中文(简体) Português Français Deutsch Italiano 日本語 한국어 Русский Español

Followers

 

Top Content

Pageviews

Sitemap