WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[resolved] [Plugin: AddToAny: Share/Bookmark/Email Buttons] New custom standalone service - without _blank attr (3 posts)

  1. kg69design
    Member
    Posted 3 years ago #

    So, I created new custom standalone service:

    function addtoany_add_services( $services ) {
      $services['mailruanswers'] = array(
    	'name' => 'mailruanswers',
    	'icon_url' => 'http://finance.vlas.kharkov.ua/wp-content/plugins/add-to-any/icons/mailruanswers.png',
    	'icon_width' => 16,
    	'icon_height' => 16,
    	'href' => 'http://otvet.mail.ru/add?linkurl=A2A_LINKURL&linkname=A2A_LINKNAME',
    
      );
      return $services;
    
    }
    add_filter('A2A_SHARE_SAVE_services', 'addtoany_add_services', 10, 1);

    Everything is fine except one thing - there is no target="_blank" atribute in the link to service. How to fix it? Thanks.
    ------------------
    This issue is in footer, in second button (custom servise button), on site
    http://finance.vlas.kharkov.ua/countries/

    http://wordpress.org/extend/plugins/add-to-any/

  2. micropat
    Member
    Plugin Author

    Posted 3 years ago #

    Will be fixed in the next release. Thanks!

  3. kg69design
    Member
    Posted 3 years ago #

    Thanks for reply and for plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags