Sharing Customization

Follow Buttons

AddToAny follow buttons link to your social media profiles and enable subscription to your RSS feeds.

In WordPress, go to Settings > Widgets (or Customize), then add the "AddToAny Follow" widget to your theme.

Social media links

Create a follow button by providing the profile URL in a service's href attribute, as in the following examples.

<div class="a2a_kit a2a_kit_size_32 a2a_default_style a2a_follow">
    <a class="a2a_button_facebook" href="https://www.facebook.com/AddToAny"></a>
    <a class="a2a_button_instagram" href="https://www.instagram.com/kevin"></a>
    <a class="a2a_button_mastodon" href="https://mastodon.social/@Gargron"></a>
    <a class="a2a_button_threads" href="https://www.threads.net/@addtoany"></a>
    <a class="a2a_button_tiktok"  href="https://www.tiktok.com/@khaby.lame"></a>
    <a class="a2a_button_discord" href="https://discord.com/invite/roblox"></a>
    <a class="a2a_button_steam" href="https://steamcommunity.com/id/gabelogannewell"></a>
    <a class="a2a_button_twitch" href="https://www.twitch.tv/pokimane"></a>
    <a class="a2a_button_pinterest" href="https://www.pinterest.com/pinterest"></a>
    <a class="a2a_button_linkedin" href="https://www.linkedin.com/in/reidhoffman"></a>
    <a class="a2a_button_youtube" href="https://www.youtube.com/user/YouTube"></a>
    <a class="a2a_button_vimeo" href="https://vimeo.com/staff"></a>
    <a class="a2a_button_tumblr" href="https://staff.tumblr.com/"></a>
    <a class="a2a_button_github" href="https://github.com/torvalds"></a>
    <a class="a2a_button_snapchat" href="https://www.snapchat.com/add/teamsnapchat"></a>
    <a class="a2a_button_medium" href="https://medium.com/@ev"></a>
    <a class="a2a_button_x" href="https://x.com/ev"></a>
    <a class="a2a_button_bluesky" href="https://bsky.app/profile/jay.bsky.team"></a>
    <a class="a2a_button_flickr" href="https://www.flickr.com/photos/flickr"></a>
    <a class="a2a_button_google_maps" href="https://goo.gl/maps/xweTPfsMoFTXHrCF7"></a>
    <a class="a2a_button_yelp" href="https://www.yelp.com/biz/greens-restaurant-san-francisco-5"></a>
    <a class="a2a_button_foursquare" href="https://foursquare.com/v/greens-restaurant/4a1c397bf964a520257b1fe3"></a>
    <a class="a2a_button_soundcloud" href="https://soundcloud.com/foofighters"></a>
    <a class="a2a_button_spotify" href="https://open.spotify.com/artist/7jy3rLJdDQY21OgRLCZ9sD"></a>
    <a class="a2a_button_apple_music" href="https://music.apple.com/us/artist/foo-fighters/6906197"></a>
</div>

<script defer src="https://static.addtoany.com/menu/page.js"></script>

In Drupal, go to Structure > Block layout, then place an "AddToAny follow buttons" block in a region of your theme.

Then add the following code, for example, to the "Service Buttons HTML code" box of your AddToAny follow buttons block.

<a class="a2a_button_facebook" href="https://www.facebook.com/AddToAny"></a>
<a class="a2a_button_instagram" href="https://www.instagram.com/kevin"></a>
<a class="a2a_button_mastodon" href="https://mastodon.social/@Gargron"></a>
<a class="a2a_button_threads" href="https://www.threads.net/@addtoany"></a>
<a class="a2a_button_tiktok"  href="https://www.tiktok.com/@khaby.lame"></a>
<a class="a2a_button_discord" href="https://discord.com/invite/roblox"></a>
<a class="a2a_button_steam" href="https://steamcommunity.com/id/gabelogannewell"></a>
<a class="a2a_button_twitch" href="https://www.twitch.tv/pokimane"></a>
<a class="a2a_button_pinterest" href="https://www.pinterest.com/pinterest"></a>
<a class="a2a_button_linkedin" href="https://www.linkedin.com/in/reidhoffman"></a>
<a class="a2a_button_youtube" href="https://www.youtube.com/user/YouTube"></a>
<a class="a2a_button_vimeo" href="https://vimeo.com/staff"></a>
<a class="a2a_button_tumblr" href="https://staff.tumblr.com/"></a>
<a class="a2a_button_github" href="https://github.com/torvalds"></a>
<a class="a2a_button_snapchat" href="https://www.snapchat.com/add/teamsnapchat"></a>
<a class="a2a_button_medium" href="https://medium.com/@ev"></a>
<a class="a2a_button_x" href="https://x.com/ev"></a>
<a class="a2a_button_bluesky" href="https://bsky.app/profile/jay.bsky.team"></a>
<a class="a2a_button_flickr" href="https://www.flickr.com/photos/flickr"></a>
<a class="a2a_button_google_maps" href="https://goo.gl/maps/xweTPfsMoFTXHrCF7"></a>
<a class="a2a_button_yelp" href="https://www.yelp.com/biz/greens-restaurant-san-francisco-5"></a>
<a class="a2a_button_foursquare" href="https://foursquare.com/v/greens-restaurant/4a1c397bf964a520257b1fe3"></a>
<a class="a2a_button_soundcloud" href="https://soundcloud.com/foofighters"></a>
<a class="a2a_button_spotify" href="https://open.spotify.com/artist/7jy3rLJdDQY21OgRLCZ9sD"></a>
<a class="a2a_button_apple_music" href="https://music.apple.com/us/artist/foo-fighters/6906197"></a>

Special service links

As a shortcut, some services accept a profile ID in a service's data-a2a-follow attribute. AddToAny automatically creates the linked URL when a social media profile ID is supplied for these services.

<div class="a2a_kit a2a_kit_size_32 a2a_default_style a2a_follow">
    <a class="a2a_button_facebook" data-a2a-follow="AddToAny"></a>
    <a class="a2a_button_instagram" data-a2a-follow="kevin"></a>
    <a class="a2a_button_threads"  data-a2a-follow="addtoany"></a>
    <a class="a2a_button_tiktok"  data-a2a-follow="khaby.lame"></a>
    <a class="a2a_button_discord" data-a2a-follow="roblox"></a>
    <a class="a2a_button_steam" data-a2a-follow="gabelogannewell"></a>
    <a class="a2a_button_twitch" data-a2a-follow="pokimane"></a>
    <a class="a2a_button_pinterest" data-a2a-follow="Pinterest"></a>
    <a class="a2a_button_linkedin" data-a2a-follow="reidhoffman"></a>
    <a class="a2a_button_linkedin_company" data-a2a-follow="linkedin"></a>
    <a class="a2a_button_youtube" data-a2a-follow="YouTube"></a>
    <a class="a2a_button_vimeo" data-a2a-follow="staff"></a>
    <a class="a2a_button_youtube_channel" data-a2a-follow="UCF0pVplsI8R5kcAqgtoRqoA"></a>
    <a class="a2a_button_tumblr" data-a2a-follow="staff"></a>
    <a class="a2a_button_github" data-a2a-follow="torvalds"></a>
    <a class="a2a_button_snapchat" data-a2a-follow="teamsnapchat"></a>
    <a class="a2a_button_medium" data-a2a-follow="ev"></a>
    <a class="a2a_button_flickr" data-a2a-follow="flickr"></a>
</div>

<script defer src="https://static.addtoany.com/menu/page.js"></script>

More service links

Other services are supported, too. Just specify the URL to link to in the href attribute.

<div class="a2a_kit a2a_kit_size_32 a2a_default_style a2a_follow">
    <a class="a2a_button_wordpress" href="https://www.addtoany.com/blog/"></a>
    <a class="a2a_button_blogger" href="http://googleblog.blogspot.com/"></a>
    <a class="a2a_button_sina_weibo" href="http://weibo.com/weibo"></a>
    <a class="a2a_button_vk" href="https://vk.com/durov"></a>
    <a class="a2a_button_email" href="mailto:info@example.com"></a>
</div>

<script defer src="https://static.addtoany.com/menu/page.js"></script>
<a class="a2a_button_wordpress" href="https://www.addtoany.com/blog/"></a>
<a class="a2a_button_blogger" href="http://googleblog.blogspot.com/"></a>
<a class="a2a_button_sina_weibo" href="http://weibo.com/weibo"></a>
<a class="a2a_button_vk" href="https://vk.com/durov"></a>
<a class="a2a_button_email" href="mailto:info@example.com"></a>

RSS feed subscribe buttons

Specify the feed URL in the data-a2a-url attribute, as in the following example.

<div class="a2a_kit a2a_kit_size_32 a2a_default_style a2a_follow" data-a2a-url="https://www.addtoany.com/blog/feed/">
    <a class="a2a_button_feedly"></a>
    <a class="a2a_button_feed"></a>
    <a class="a2a_dd"></a>
</div>

<script defer src="https://static.addtoany.com/menu/page.js"></script>

Tip: You can include social media links among your subscribe buttons.