Viewing 5 replies - 1 through 5 (of 5 total)
  • @seatpitch:

    For hashtags you need to use custom code. Something like

    <a class="addthis_button_tweet" tw:hashtags="#nffc"></a>

    You have to get the code to your liking from https://www.addthis.com/get/sharing and modify it to add hashtag. In WordPress admin panel, there is a section to add custom code.

    For the spacing,

    .addthis_button_tweet .at300b{
       width: 80px;
    }
    .addthis_button_google_plusone .at300b{
       width: 60px;
    }

    Above css will fix the spacing issue for your blog. The extra space was for to accomodate button size for various languages.

    Thread Starter seatpitch

    (@seatpitch)

    @srijith.v

    Perfect, thanks.

    A bit of fiddling and I managed to get there.

    Cheers

    Nice to hear that!

    Hi, Use this method. You can add these buttons in your single.php , post.php , page.php or anywhere.

    <!– AddThis Button BEGIN –>

    <div class="addthis_toolbox addthis_default_style " style="padding: 0px 0px 0px 220px">
    <a class="addthis_button_facebook_like" fb:like:layout="box_count" style="padding-right: 20px"></a>
    <a class="addthis_button_tweet" tw:count="vertical" style="padding-right: 20px"></a>
    <a class="addthis_button_google_plusone" g:plusone:size="tall" style="padding-right: 20px"></a>
    <a class="addthis_button_pinterest_pinit" pi:pinit:layout="vertical" style="padding-right: 20px"></a>
    <a class="addthis_counter" style="padding-right: 20px"></a>
    </div>

    Never forget to add

    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50f122333bf1d8a1"></script>

    Paste these scrips before closing </head> in header.php.

    cheers

    @anasiqbalkhan: You may not need to edit the theme files, you can do it from the plugin itself as described above.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add hashtag to tweet button space between buttons’ is closed to new replies.