Home / loop / Add a linkedin share button widget
  • Add a linkedin share button widget

    add-a-linkedin-share-button-widget

    Adding this snippet to the single.php of your wordpress theme will display a linkedin share button. Be sure to place this code within the loop,

    wordpress snippet : PHP

    <>
    <script type="text/javascript" src="http://platform.linkedin.com/in.js"></script><script type="in/share" data-url="<? the_permalink(); ?>" data-counter="top"></script>
    

    ( WordPress codex functions, hooks, in this snippet. )

    the_permalink,

Build a better with wpsnipp.com

Weekly snippets, themes, deals coupons roundup.

x No Thanks