Viewing 1 replies (of 1 total)
  • Plugin Author micropat

    (@micropat)

    Hello!

    Please see the plugin’s FAQ on adding custom follow buttons. Here’s some example code for creating multiple buttons:

    function addtoany_add_follow_services( $services ) {
        $services['example_follow_service_1'] = array(
            'name'        => 'Example Follow Service 1',
            'icon_url'    => 'https://www.example.com/my-icon.svg',
            'icon_width'  => 32,
            'icon_height' => 32,
            'href'        => 'https://www.example.com/${id}',
        );
        $services['example_follow_service_2'] = array(
            'name'        => 'Example Follow Service 2',
            'icon_url'    => 'https://www.example.com/my-icon.svg',
            'icon_width'  => 32,
            'icon_height' => 32,
            'href'        => 'https://www.example.com/${id}',
        );
        return $services;
    }
    add_filter( 'A2A_FOLLOW_services', 'addtoany_add_follow_services', 10, 1 );
Viewing 1 replies (of 1 total)
  • The topic ‘Как добавить другие иконки’ is closed to new replies.