Custom Follow | WordPress.org

[ad_1]

I actually added this code into addtoany.services.php

Your changes to any plugin files will get wiped out after every plugin update, so I recommend following the FAQ on adding a custom follow button.

Just change https://www.example.com/my-minds-icon.svg and add the following PHP code to a “functionality” plugin such as the Code Snippets plugin:

function addtoany_add_follow_services( $services ) {
    $services['example_follow_service'] = array(
        'name'        => 'Minds',
        'icon_url'    => 'https://www.example.com/my-minds-icon.svg',
        'icon_width'  => 32,
        'icon_height' => 32,
        'href'        => 'https://www.minds.com/${id}',
    );
    return $services;
}
add_filter( 'A2A_FOLLOW_services', 'addtoany_add_follow_services', 10, 1 );

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer