Support » Plugin: ShareThis: Free Sharing Buttons and Tools » How to remove sharethis buttons from excerpts?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Our new ShareThis Plugin is under development and will be out soon.
    This release will solve the issue.
    We will update the info on our Website as well.

    This is an issue for me as well. Has this been updated?

    We went ahead and issued a new release (v. 7.0.9). This is up now. This version contains the option to show the buttons on selected pages. And for posts excerpts we have already forwarded the request to our engineering team.

    I found the answer in another thread (

    Out of the two solutions offered, the one near the end worked for me. I added this to my functions.php file

    function remove_sharethis() {
    if ( ! is_singular( array( ‘post’, ‘page’ ) ) ) {
    remove_filter(‘the_content’, ‘st_add_widget’);
    remove_filter(‘the_excerpt’, ‘st_add_widget’);
    remove_action(‘wp_head’, ‘st_widget_head’);
    add_action( ‘template_redirect’, ‘remove_sharethis’ );

    We already raised this as a feature request to add an option to remove the Buttons from the Post Excerpts. It will be available in future versions of plugins.
    But if you have access to your code, then you can try it at your end. It is not advisable to make changes to the code, but couple of ShareThis users has successfully used the above method.

    I’d be interested to know roughly when you think the feature to remove the buttons from the post excerpts will be available? Reading through various posts here this featured has been talked about and is apparently under development but I’d like to get a better idea of when to expect this. I really want to get rid off the buttons on my homepage and I am considering switching plug-ins if this feature doesn’t come soon.

    This is in our priority list and will be available in future plugin versions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to remove sharethis buttons from excerpts?’ is closed to new replies.