Thursday

How To Add LinkedIn Share Button To Your Blog

Posted By: Arin Dey - September 22, 2011
Nowadays share buttons and badges have become one of the important add-on to blogs and websites which allow viewers to share and spread the content on web with ease of access. We have shown about how to include Facebook, Twitter, Digg, StumbleUpon, Google+ buttons or the Floating Bar Box Share buttons on your website. Here we will learn how to put an In Share or popularly known as Linked In share button to your blog.

LinkedIn can help you generate traffic to your blog

When you add a LinkedIn share button to your blog or website, you are allowing your site visitors to share your posts directly to their Linked In accounts. If you want to add a Linked in share button to your site just follow the below steps:

1. Go to Linked In Plugin Share button (http://developer.linkedin.com/plugins/share-button)
How To Add LinkedIn Share Button To Your Blog

2. Choose your count mode that you want from the 3 options i.e. Vertical, Horizontal and No Count. (see the box in right side)

3. Click on one option out of 3 and get the code.

4. Copy and paste it in your blog template where you want to show the button.

Here you have another option text-box asking for the URL to be shared which is completely optional. It is useful when you want a only particular URL (eg. your blog or website URL) to be shared, not the posts or pages on which the button will be shown. Leave it blank at the URL box, if you are going to put the button with your blog posts.

Codes for Advance users

For an advance In share button, like when you want it appear on the index page of your posts then the code from Linked In Plugin Page will not work. You can use the following code with some recommended modifications:
<script type="text/javascript" src="http://platform.linkedin.com/in.js"></script><script type="in/share" data-url="PERMALINK" data-counter="right"></script>
For WordPress users: Include <?php the_permalink(); > instead of PERMALINK.
For Blogger.com users: Include <b:data:post.url /> instead of PERMALINK.
For Tumblr users: Put {Permalink} instead of PERMALINK.
Likewise the previous box options, here you can choose the data-counter value to top for a vertical count of the button or a button without counter. Hope this works perfectly and you can provide an option to your readers to share your posts easily.

Copyright © 2010-2023 Poketors | The content of this website is copyrighted and may not be reproduced on other websites.| Email us at : admin@poketors.com.