how to add linkedin button in wordpress same like twitter sharebar_button wordpress, facebook sharebar_button wordpress and Google Plus sharebar_button wordpress

how to add linkedin button in wordpress?

WordPress provide many good plugins through which we can make our work easy, recently i am working on one project and in that we need sharebar button for social media. i get one plugin which is good an using that i get almost all well known social media but did not get linkedin share bar.
You can use the below code to get the twitter, facebook and google plus sharebar.

 
<?php sharebar_button('twitter','big'); ?>
<?php sharebar_button('facebook','big'); ?>
<?php sharebar_button('Google Plus','big'); ?>

There is not option like <?php sharebar_button(‘Linkedin’,’big’); ?> in the wordpress and because of that you can not add it via plugin, if you need to insert linkedin sharebar button then you need to insert it using the javascript code and its really very easy, just place below code next to all other social media code.

 
<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
<script type="IN/Share" data-counter="top"></script>

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>