WordPress.org

Ready to get started?Download WordPress

Forums

ShareThis: Share Buttons and Social Analytics
ShareThis plugin for wordpress doesn't work properly with Jetpack (5 posts)

  1. surpreem
    Member
    Posted 1 year ago #

    Hi,

    After upgrade the Jetpack, the ShareThis plugin widget isn't display
    at the bottom of all post. (The widget displayed at the upper of all post
    is added manually.)
    Before all works.
    Someone says, it is high likely that the ShareThis plugin interfaces with Jetpack.

    I know the Jetpack has a sharing feature, so has disabled it.
    But the problem is the same as before.
    I'd like to use the both features.

    Thanks.

    Blog: http://surpreem.com
    Jetpack ver: 2.0
    ShareThis ver: 5.4

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

  2. sharethissupport
    Member
    Posted 1 year ago #

    Hi Sir,
    I've escalated the issue to our development team. Will update you once I hear from them.
    Right now you can try adding the buttons manually to your wordpress blog.
    Here are the detailed steps:
    Sharethis script and span tags go on the page where you want the buttons to appear and they also determine what kind of button appears as well as what URL and title it shares. You will have to put 'script tags' in your Main index template(index.php) and 'span tags' in Single Post template(single.php).

    Here is the basic span for just the ShareThis button: <span class="st_sharethis" st_title='<?php the_title(); ?>' st_url='<?php the_permalink(); ?>' displayText="ShareThis"></span>

    You can change the class of the span to determine the button that appears. For example class="st_twitter" will make a twitter icon and class="st_email_vcount" will make a email vertical counter button.

    However, adding code in index.php and single.php will not display sharethis buttons on the blog page but will show buttons whenever an individual post is opened.
    If you wish to display sharethis buttons on the blog page ,you will have to put 'span tags' in (loop.php).

    In loop.php,
    1. put span tags just above the line "<div class="entry-utility">" to display buttons at the end of each post on the blog page.

    <span class='st_sharethis' ></span>
    <div class="entry-utility">

    2. to display buttons at the beginning of each post on the blog page,put span tags just below the lines

    <h2 class="entry-title">" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></h2>
    <div class="entry-meta">
    <?php twentyten_posted_on(); ?>
    </div><!-- .entry-meta -->
    <?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>

    Hope this helps.
    In case of any issues, please feel free to contact us.
    Regards,
    SharethisSupport Team

  3. Kelson
    Member
    Posted 1 year ago #

    Based on the info in another thread, I tried disabling both the Sharing and Publicize features, and ShareThis appears on my individual posts again.

  4. surpreem
    Member
    Posted 1 year ago #

    It works when I disable both features based on Kelson's info.
    I'll wait the update.

    Thanks all.

  5. sharethissupport
    Member
    Posted 1 year ago #

    Hi Sir,
    Right now we have a single solution of disabling the two modules "Publicize" and "Sharing."

    Thanks for using sharethis.
    Regards,
    Sharethis Support Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic