Forums

[Plugin: ShareThis] Needs a way of placing tags/content before the button/link (1 post)

  1. stevemagruder
    Member
    Posted 1 month ago #

    I need a way to specify...

    <br clear="both"/>

    before the ShareThis button/text. The only way I could see to do this was by editing the sharethis.php code, like follows:

    if(!empty($widget)){
    		$sharethis = '<br clear="both"/><script type="text/javascript">SHARETHIS.addEntry({ title: "'.str_replace('"', '\"', strip_tags(get_the_title())).'", url: "'.get_permalink($post->ID).'" });</script>';
    	}

    Please add an option for specifying code/content before the display of the ShareThis button/text. Thanks!

    http://wordpress.org/extend/plugins/share-this/

Reply

You must log in to post.

About this Topic