Support » Plugin: Share Buttons by AddThis » Add hashtag to tweet button space between buttons

Viewing 5 replies - 1 through 5 (of 5 total)
  • Srijith V


    AddThis Samurai


    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 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.


    Perfect, thanks.

    A bit of fiddling and I managed to get there.


    Srijith V


    AddThis Samurai

    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>

    Never forget to add

    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
    <script type="text/javascript" src="//"></script>

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


    Srijith V


    AddThis Samurai

    @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.