WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: AddToAny: Share/Bookmark/Email Buttons] New custom standalone service – without _blank attr

[Resolved] [Plugin: AddToAny: Share/Bookmark/Email Buttons] New custom standalone service – without _blank attr

  • kg69design
    Member

    @kg69design

    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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: AddToAny: Share/Bookmark/Email Buttons] New custom standalone service – without _blank attr’ is closed to new replies.