WordPress.org

Forums

Share Buttons by AddToAny
[Plugin: AddToAny: Share/Bookmark/Email Button] Custom service URL is changed (3 posts)

  1. paradoxon
    Member
    Posted 4 years ago #

    Hi,

    I am using AddToAny on my site http://tsm.ejmub.de/ and I really like its clean interface.

    I added a custom service to support German "VZ" Networks ("VZ Netzwerke" StudiVZ, Sch├╝lerVZ and MeinVZ) by putting this code in my theme's function.php, as described in the FAQ:

    function addtoany_add_services( $services ) {
      $services['vznet'] = array(
        'name' => 'StudiVZ/MeinVZ/Sch├╝lerVZ',
        'icon_url' => '/wp-content/plugins/add-to-any/icons/studivz.gif',
        'icon_width' => 16,
        'icon_height' => 16,
        'href' => 'http://www.studivz.net/Suggest/Selection/?u=A2A_LINKURL&desc=A2A_LINKNAME'
      );
      return $services;
    }
    add_filter('A2A_SHARE_SAVE_services', 'addtoany_add_services', 10, 1);

    I added the service as a standalone button.

    The generated HTML source looks fine, but in my browser the link is changed to http://www.addtoany.com/add_to/vznet - I suspect there is a JavaScript or something that changes the link to the default scheme.

    Is there a way to keep the original link?

    Thanks in advance,
    paradoxon

  2. micropat
    Member
    Plugin Author

    Posted 4 years ago #

    This is a known issue since recent upgrades (version .9.9.6.5+) to the plugin, and it should be resolved within the next couple of releases.

  3. paradoxon
    Member
    Posted 4 years ago #

    Thanks for your reply. Is there a workaround, e.g. installing a version prior to .9.9.6.5, or will I run into compatibility issues?

    There is also official documentation for "Sharing", including icons: http://developer.studivz.net/wiki/index.php/Sharing

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags