Linked-in Permalink in ShareBar Section
Submitted by Evan Mattson on 26 October 2012 - 03:41 AM
Evan Mattson
Issue Timeline
array key typo for permalink in markup.
$a['perm'] should be $a['permalink'].
function linkedin( $args ){ $defaults = array( 'permalink' => '', 'width' => '80', 'hash' => ploption('site-hashtag'), 'handle' => ploption('twittername'), 'title' => '', ); $a = wp_parse_args($args, $defaults); ob_start(); ?> <script src="http://platform.linkedin.com/in.js" type="text/javascript"></script> <script width="100" type="IN/Share" data-url="<?php echo $a['perm'];?>" data-width="<?php echo $a['width'];?>" data-counter="right"></script>
<?php
return ob_get_clean(); }
$a['perm'] should be $a['permalink'].


