Add the following PHP code using a “functionality” plugin such as the Code Snippets plugin:
function addtoany_add_follow_services( $services ) {
$services['my_soundcloud'] = array(
'name' => 'My SoundCloud',
'icon_url' => 'https://www.example.com/soundcloud.svg',
'icon_width' => 32,
'icon_height' => 32,
'href' => 'https://soundcloud.com/${id}',
);
return $services;
}
add_filter( 'A2A_FOLLOW_services', 'addtoany_add_follow_services', 10, 1 );
Replace https://www.example.com/soundcloud.svg with the location of your square SoundCloud icon (an SVG icon is best).
Then SoundCloud will be available in your AddToAny Follow widget.
Thank you so much for the quick help! It worked! Now I also have a soundcloud follow button! Great!