Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
code for linkedin share button
function wpb_linkedin_share_after($content) {
$sharecode .= '<script src="//" type="text/javascript"> lang: en_US</script>
<script type="IN/Share" data-counter="top"></script>';
$newcontent = $content . $sharecode;
return $newcontent;
add_filter('the_content', 'wpb_linkedin_share_after');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.