Support » Plugin: AddToAny Share Buttons » java script for short link

  • Hello,

    I add the code for shorter link with bitly but don’t make any change the link still long

    a2a_config.track_links = ‘bitly’;
    a2a_config.track_links_key = ‘ibrahemalarabiatimes|53aa94221e83f0997ef8787bd30c192bd1a17351’;

    another issue id I need to add youtube and Instagram code

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

    is this code for youtube how I can add for Instagram also

    best regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.