Need Need help with wordpress/social share button script
I did this before but there was an update with the plugin which removed that config, since then i cant seem to get it back. I think the edit should be made somewhere in the area i highlighted in Red below.
Tweet Now: SJ - Wake Up [OMV] SJ - Wake Up [OMV] I WANT IT LINK THIS: SJ - Wake Up [OMV] SJ - Wake Up [OMV] via @yardhype #YH |
if(isset($ssb_artificial['show_button_twtr']))
{
$ssb_html.='<li class="twtr" style="width:'.$width_array['width_button_twtr'].'px"><a href="https://twitter.com/share" class="twitter-share-button" data-url="'.$url_to_share.'"> </a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?\'http\':\'https\';if(!d.getElem entById(id)){js=d.createElement(s);js.id=id;js.src =p+\'://platform.twitter.com/widgets.js\';fjs.parentNode.insertBefore(js,fjs);} }(document, \'script\', \'twitter-wjs\');</script></li>';
}
i am using "social-share-boost" plugin. https://wordpress.org/plugins/social-share-boost/