MeteorGPLby WebbingApps

AddToAny Share Buttons

Plugin
Acompanhar 0 Marcar com estrela 0
Instalar

Share buttons for WordPress including the AddToAny button, Facebook, Mastodon, WhatsApp, Pinterest, Reddit, Threads, many more, and follow icons too.

  • 0 estrelas
  • 0 acompanhando
  • 0 downloads
  • GPL-2.0-or-later

Versões 1

Mais recentes primeiro · cada versão analisada antes da publicação
  1. 1.8.13 Mais recente

    Fix defaults in settings Notas de lançamento

    138 arquivos 123,0 KB Verificado

Mostrar 147 versões ainda não disponíveis

Lançamentos citados no registro de alterações do fornecedor ou no WordPress.org que o repositório ainda não tem.

  1. 1.8.18 Ainda não disponível

    Lançado no WordPress.org

  2. 1.8.12 Ainda não disponível Data de lançamento não informada

    Add Steam follow button

    Entrada do registro de alterações

  3. 1.8.11 Ainda não disponível Data de lançamento não informada

    Update AddToAny core script loading

    Entrada do registro de alterações

  4. 1.8.10 Ainda não disponível Data de lançamento não informada

    Add Bluesky share button

    Entrada do registro de alterações

  5. 1.8.9 Ainda não disponível Data de lançamento não informada

    Add Mix

    Entrada do registro de alterações

  6. 1.8.8 Ainda não disponível Data de lançamento não informada

    Add Google Translate share button

    Entrada do registro de alterações

  7. 1.8.7 Ainda não disponível Data de lançamento não informada

    Add Threads share button

    Entrada do registro de alterações

  8. 1.8.6 Ainda não disponível Data de lançamento não informada

    Add Microsoft Teams share button

    Entrada do registro de alterações

  9. 1.8.5 Ainda não disponível Data de lançamento não informada

    The addtoanyscriptdisabled hook now additionally disables the plugin's local JS & CSS

    Entrada do registro de alterações

  10. 1.8.4 Ainda não disponível Data de lançamento não informada

    Update admin for jQuery UI 1.13.0 in WordPress 5.9

    Entrada do registro de alterações

  11. 1.8.3 Ainda não disponível Data de lançamento não informada

    Update AMP support

    Entrada do registro de alterações

  12. 1.8.2 Ainda não disponível Data de lançamento não informada

    Update AddToAny core script loading

    Entrada do registro de alterações

  13. 1.8.1 Ainda não disponível Data de lançamento não informada

    Add Discord follow button

    Entrada do registro de alterações

  14. 1.8.0 Ainda não disponível Data de lançamento não informada

    Switch to more recent WordPress functions (especially for loading plugin script assets)

    Entrada do registro de alterações

  15. 1.7.48 Ainda não disponível Data de lançamento não informada

    Escape a custom universal button's image URL

    Entrada do registro de alterações

  16. 1.7.47 Ainda não disponível Data de lançamento não informada

    Additional input validation & sanitization in admin

    Entrada do registro de alterações

  17. 1.7.46 Ainda não disponível Data de lançamento não informada

    In addition to requiring the manageoptions user capability in Settings, require the unfilteredhtml user capability for changing the Sharing...

    Entrada do registro de alterações

  18. 1.7.45 Ainda não disponível Data de lançamento não informada

    Add Tumblr share count option

    Entrada do registro de alterações

  19. 1.7.44 Ainda não disponível Data de lançamento não informada

    Update the Print service to support AMP (thanks andrei0x309)

    Entrada do registro de alterações

  20. 1.7.43 Ainda não disponível Data de lançamento não informada

    Update the vertical floating bar's "Attach to content" option to check whether content exists before attaching

    Entrada do registro de alterações

  21. 1.7.42 Ainda não disponível Data de lançamento não informada

    Update the "Show sharing buttons" meta box to not display in the WordPress editor when automatic placement is disabled for the current post...

    Entrada do registro de alterações

  22. 1.7.41 Ainda não disponível Data de lançamento não informada

    Update Facebook icon color

    Entrada do registro de alterações

  23. 1.7.40 Ainda não disponível Data de lançamento não informada

    Require PHP 5.3 as a bare minimum for compatibility features

    Entrada do registro de alterações

  24. 1.7.39 Ainda não disponível Data de lançamento não informada

    Fix AMP version of the AddToAny universal icon

    Entrada do registro de alterações

  25. 1.7.38 Ainda não disponível Data de lançamento não informada

    Update AMP support for compatibility with AMP's standard mode

    Entrada do registro de alterações

  26. 1.7.37 Ainda não disponível Data de lançamento não informada

    Harden option to toggle standard sharing placement on pages and the "page" post type

    Entrada do registro de alterações

  27. 1.7.36 Ainda não disponível Data de lançamento não informada

    Apply the "Show sharing buttons" option to the floating vertical bar when Placement is set to "Attach to content"

    Entrada do registro de alterações

  28. 1.7.35 Ainda não disponível Data de lançamento não informada

    Remove Google+ because Google shut down Google+

    Entrada do registro de alterações

  29. 1.7.34 Ainda não disponível Data de lançamento não informada

    Add MeWe

    Entrada do registro de alterações

  30. 1.7.33 Ainda não disponível Data de lançamento não informada

    New translatable strings for the optional post-share modal

    Entrada do registro de alterações

  31. 1.7.32 Ainda não disponível Data de lançamento não informada

    Fix the option to hide a floating bar when scrolled to a footer region

    Entrada do registro de alterações

  32. 1.7.31 Ainda não disponível Data de lançamento não informada

    Update language template file and extension

    Entrada do registro de alterações

  33. 1.7.30 Ainda não disponível Data de lançamento não informada

    Fix issue where the "Show count" checkbox was unavailable for some services in settings

    Entrada do registro de alterações

  34. 1.7.29 Ainda não disponível Data de lançamento não informada

    Initialize AddToAny Follow buttons on the post-load event

    Entrada do registro de alterações

  35. 1.7.28 Ainda não disponível Data de lançamento não informada

    New option to hide a floating bar until scrolled past a header region

    Entrada do registro de alterações

  36. 1.7.27 Ainda não disponível Data de lançamento não informada

    New "Attach to content" option for the vertical floating bar

    Entrada do registro de alterações

  37. 1.7.26 Ainda não disponível Data de lançamento não informada

    Add Mastodon share button

    Entrada do registro de alterações

  38. 1.7.25 Ainda não disponível Data de lançamento não informada

    Fix service count options in settings

    Entrada do registro de alterações

  39. 1.7.24 Ainda não disponível Data de lançamento não informada

    Move JS into a single block to prevent issues caused by some site optimization plugins

    Entrada do registro de alterações

  40. 1.7.23 Ainda não disponível Data de lançamento não informada

    Add addtoanycontent class name to container in content

    Entrada do registro de alterações

  41. 1.7.22 Ainda não disponível Data de lançamento não informada

    Use WordPress 4.9 code editor for Additional CSS and Additional JavaScript boxes

    Entrada do registro de alterações

  42. 1.7.21 Ainda não disponível Data de lançamento não informada

    Fix simplified initial a2aconfig JS so overlays are not enabled by default

    Entrada do registro de alterações

  43. 1.7.20 Ainda não disponível Data de lançamento não informada

    Show the optional sharing header for WooCommerce standard share buttons placement

    Entrada do registro de alterações

  44. 1.7.19 Ainda não disponível Data de lançamento não informada

    Resolve issue in admin with out-of-date PHP versions below PHP 5.5

    Entrada do registro de alterações

  45. 1.7.18 Ainda não disponível Data de lançamento não informada

    New icon color options in AddToAny settings

    Entrada do registro de alterações

  46. 1.7.17 Ainda não disponível Data de lançamento não informada

    Add Threema

    Entrada do registro de alterações

  47. 1.7.16 Ainda não disponível Data de lançamento não informada

    Set the CSS enqueue priority to 20 to load after most theme stylesheets

    Entrada do registro de alterações

  48. 1.7.15 Ainda não disponível Data de lançamento não informada

    Use the wpenqueuescripts action hook instead of wpprintstyles for the plugin's stylesheet

    Entrada do registro de alterações

  49. 1.7.14 Ainda não disponível Data de lançamento não informada

    Fix the standard placement option for WooCommerce Product types

    Entrada do registro de alterações

  50. 1.7.13 Ainda não disponível Data de lançamento não informada

    Update standard placement for WooCommerce to display share buttons after the product meta block instead of the product description

    Entrada do registro de alterações

  51. 1.7.12 Ainda não disponível Data de lançamento não informada

    Use rel="noopener" on links that open in a new tab/window for site JavaScript performance in some browsers

    Entrada do registro de alterações

  52. 1.7.11 Ainda não disponível Data de lançamento não informada

    Add icon size option to Follow buttons widget

    Entrada do registro de alterações

  53. 1.7.10 Ainda não disponível Data de lançamento não informada

    Fix vertical floating bar's class name and media query from the previous release

    Entrada do registro de alterações

  54. 1.7.9 Ainda não disponível Data de lançamento não informada

    Show optional meta box ("Show sharing buttons") below the WordPress editor by default, without having to save AddToAny settings first

    Entrada do registro de alterações

  55. 1.7.8 Ainda não disponível Data de lançamento não informada

    AddToAny Follow widgets will now use full URLs when specified for a service ID

    Entrada do registro de alterações

  56. 1.7.7 Ainda não disponível Data de lançamento não informada

    Resolve syntax issue with out-of-date PHP versions below PHP 5.3

    Entrada do registro de alterações

  57. 1.7.6 Ainda não disponível Data de lançamento não informada

    Skip background colors on AMP icons for out-of-date PHP versions below PHP 5.3

    Entrada do registro de alterações

  58. 1.7.5 Ainda não disponível Data de lançamento não informada

    Add background colors to share buttons on AMP (Accelerated Mobile Pages) to support new AddToAny SVG icons

    Entrada do registro de alterações

  59. 1.7.4 Ainda não disponível Data de lançamento não informada

    Fix custom/secondary contexts check when the WP query object is unavailable

    Entrada do registro de alterações

  60. 1.7.3 Ainda não disponível Data de lançamento não informada

    Add icon size options for the floating share buttons

    Entrada do registro de alterações

  61. 1.7.2 Ainda não disponível Data de lançamento não informada

    Accept arguments in universal button template tag for additional classes and HTML contents

    Entrada do registro de alterações

  62. 1.7.1 Ainda não disponível Data de lançamento não informada

    Fix floating share buttons fallback so that the current page is shared by default

    Entrada do registro de alterações

  63. 1.7 Ainda não disponível Data de lançamento não informada

    Simplify AddToAny asynchronous loading method

    Entrada do registro de alterações

  64. 1.6.18 Ainda não disponível Data de lançamento não informada

    Fix default icon size

    Entrada do registro de alterações

  65. 1.6.17 Ainda não disponível Data de lançamento não informada

    New media attribute for sharing a specific image or video to the few services that accept arbitrary media (Pinterest, Yummly)

    Entrada do registro de alterações

  66. 1.6.16 Ainda não disponível Data de lançamento não informada

    Fix customizer preview check for WordPress versions older than 4.0 (thanks Jessica)

    Entrada do registro de alterações

  67. 1.6.15 Ainda não disponível Data de lançamento não informada

    AddToAny widgets support new selective refresh in the WordPress 4.5 Customizer

    Entrada do registro de alterações

  68. 1.6.14 Ainda não disponível Data de lançamento não informada

    AMP (Accelerated Mobile Pages) support for share buttons in posts

    Entrada do registro de alterações

  69. 1.6.13 Ainda não disponível Data de lançamento não informada

    Fix automatic placement in post excerpts for certain themes & plugins that display post content on a page (thanks Agis)

    Entrada do registro de alterações

  70. 1.6.12 Ainda não disponível Data de lançamento não informada

    Enable counters on floating share buttons when enabled for standard share buttons

    Entrada do registro de alterações

  71. 1.6.11 Ainda não disponível Data de lançamento não informada

    Update [addtoany] shortcode to accept specific share buttons

    Entrada do registro de alterações

  72. 1.6.10 Ainda não disponível Data de lançamento não informada

    Enable simpler syntax when using multiple share message templates

    Entrada do registro de alterações

  73. 1.6.9 Ainda não disponível Data de lançamento não informada

    Fix decoding of HTML entities in shared titles when the default character encoding is not UTF-8

    Entrada do registro de alterações

  74. 1.6.8 Ainda não disponível Data de lançamento não informada

    Universal share counter is now available

    Entrada do registro de alterações

  75. 1.6.7 Ainda não disponível Data de lançamento não informada

    New Additional CSS box for AddToAny CSS customizations

    Entrada do registro de alterações

  76. 1.6.6 Ainda não disponível Data de lançamento não informada

    Harden local caching option (thanks pineappleclock)

    Entrada do registro de alterações

  77. 1.6.5 Ainda não disponível Data de lançamento não informada

    Update Google icon

    Entrada do registro de alterações

  78. 1.6.4 Ainda não disponível Data de lançamento não informada

    Fix placement option for custom post types to not inherit the placement option for regular posts (thanks Air)

    Entrada do registro de alterações

  79. 1.6.3 Ainda não disponível Data de lançamento não informada

    Fix Google+ follow button URL by removing the hardcoded + (thanks foxtucker)

    Entrada do registro de alterações

  80. 1.6.2 Ainda não disponível Data de lançamento não informada

    Support AJAX loading from admin-ajax.php

    Entrada do registro de alterações

  81. 1.6.1 Ainda não disponível Data de lançamento não informada

    Titles with special characters are sanitized differently

    Entrada do registro de alterações

  82. 1.6.0.1 Ainda não disponível Data de lançamento não informada

    Resolve notices in debug mode

    Entrada do registro de alterações

  83. 1.6 Ainda não disponível Data de lançamento não informada

    Follow buttons have arrived for WordPress!

    Entrada do registro de alterações

  84. 1.5.9 Ainda não disponível Data de lançamento não informada

    Accept custom icons of all file types such as png, svg, gif, jpg, webp, etc.

    Entrada do registro de alterações

  85. 1.5.8 Ainda não disponível Data de lançamento não informada

    Toggle share buttons on custom post types in AddToAny settings

    Entrada do registro de alterações

  86. 1.5.7 Ainda não disponível Data de lançamento não informada

    Custom color share buttons have arrived!

    Entrada do registro de alterações

  87. 1.5.6 Ainda não disponível Data de lançamento não informada

    Bulgarian translation (by Artem Delik)

    Entrada do registro de alterações

  88. 1.5.5 Ainda não disponível Data de lançamento não informada

    Support multilingual sites using WPML, including Polylang

    Entrada do registro de alterações

  89. 1.5.4 Ainda não disponível Data de lançamento não informada

    New optional sharing header to easily place a label above the default share buttons

    Entrada do registro de alterações

  90. 1.5.3 Ainda não disponível Data de lançamento não informada

    Share event handling comes to the WordPress plugin!

    Entrada do registro de alterações

  91. 1.5.2 Ainda não disponível Data de lançamento não informada

    Localize More button string

    Entrada do registro de alterações

  92. 1.5.1 Ainda não disponível Data de lançamento não informada

    Update Print icon

    Entrada do registro de alterações

  93. 1.5 Ainda não disponível Data de lançamento não informada

    Custom icon sizes (applied to AddToAny vector icons)

    Entrada do registro de alterações

  94. 1.4.1 Ainda não disponível Data de lançamento não informada

    Update CSS to fix Facebook Like button verical aligment caused by Facebook's inline styling change

    Entrada do registro de alterações

  95. 1.4 Ainda não disponível Data de lançamento não informada

    New: Share counters in the same style for Facebook, Twitter, Pinterest, Linkedin and Reddit!

    Entrada do registro de alterações

  96. 1.3.8.1 Ainda não disponível Data de lançamento não informada

    Add LINE icon (thanks tokyodev)

    Entrada do registro de alterações

  97. 1.3.8 Ainda não disponível Data de lançamento não informada

    Floating share buttons are now disabled when "Show sharing buttons" is unchecked for a post/page

    Entrada do registro de alterações

  98. 1.3.7 Ainda não disponível Data de lançamento não informada

    New share menu design for the universal share button!

    Entrada do registro de alterações

  99. 1.3.6 Ainda não disponível Data de lançamento não informada

    Add LINE

    Entrada do registro de alterações

  100. 1.3.5 Ainda não disponível Data de lançamento não informada

    Fix 'small icon + text' double-icon issue where the AddToAny Kit icon would appear in addition to packaged icon

    Entrada do registro de alterações

Todos os 147 lançamentos ainda não disponíveis, no registro de alterações

AddToAny Share Buttons

Share buttons for WordPress including the AddToAny button, Facebook, Mastodon, WhatsApp, Pinterest, Reddit, Threads, many more, and follow icons too.

The AddToAny Share Buttons plugin for WordPress increases traffic & engagement by helping people share your posts and pages to any service. Services include Facebook, Mastodon, Pinterest, WhatsApp, LinkedIn, Threads, Bluesky, Tumblr, Reddit, X, WeChat, and many more sharing and social media sites & apps.

AddToAny is the home of universal sharing, and the AddToAny plugin is the most popular share plugin for WordPress, making sites social media ready since 2006.

Share Buttons

  • Standard share buttons — share each piece of content
  • Floating share buttons — responsive & customizable, vertical & horizontal
  • Counters — fast & official share counts in the same style
  • Follow buttons — social media links to your Instagram, YouTube, Discord, Snapchat
  • Image sharing buttons - share buttons for sharing images
  • Vector share buttons & follow buttons — custom color SVG icons
  • Custom share icons — use your own if you prefer
  • Official buttons including the Facebook Like Button, Pinterest Save Button, and LinkedIn Share Button
  • Universal email sharing makes it easy to share via Gmail, Yahoo Mail, Outlook.com (Hotmail), AOL Mail, and any other web or native apps

Custom Placement & Appearance

  • Before content, after content, or before & after content
  • Vertical Floating Share Bar, and Horizontal Floating Share Bar
  • As a shortcode, or a widget within a theme's layout
  • Programmatically with template tags

Analytics Integration

  • Google Analytics integration (access guide) for sharing analytics
  • Track shared links with Bitly and custom URL shorteners
  • Display share counts on posts and pages

WordPress Optimized

  • Loads asynchronously so your content always loads before or in parallel with AddToAny
  • Supports theme features such as HTML5, widgets, infinite scroll, post formats
  • Supports WooCommerce, multilingual sites, multisite networks, and accessibility standards
  • AddToAny is free — no signup, no login, no accounts to manage

Mobile Optimized & Retina Ready

  • AddToAny gives users the choice in sharing from a service's native app or from a web app
  • Responsive Floating Share Buttons are mobile ready by default, and configurable breakpoints make floating buttons work with any theme
  • AddToAny's SVG icons are super-lightweight and pixel-perfect at any size, and AddToAny's responsive share menu fits on all displays
  • Automatic AMP (Accelerated Mobile Pages) support for social share buttons on AMP pages

Customizable & Extensible

  • Choose exactly where you want AddToAny to appear
  • Easily customize sharing on your WordPress site
  • Highly extensible for developers and designers
  • Custom icons let you use any icons from any location (media uploads directory, CDN, etc.)
  • Many more publisher and user features

Wide Support

  • Over 10 years of development
  • Over 17 million downloads
  • Translated into dozens of languages
  • Ongoing support from the community

This plugin always strives to be the best WordPress plugin for sharing. Development is fueled by your kind words and feedback.

Share this plugin

See also:

  • The share buttons for all platforms
  • The share buttons for WordPress.com

AddToAny Blog | Privacy Policy

O que ele adiciona

  • Shortcodes: [addtoany]
  • Integra-se com WooCommerce

Installation

In WordPress:

  1. Go to Plugins > Add New > search for addtoany
  2. Press "Install Now" for the AddToAny plugin
  3. Press "Activate Plugin"

Manual installation:

  1. Upload the add-to-any directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the "Plugins" menu in WordPress

WP-CLI installation:

  1. wp plugin install add-to-any --activate

Faq

Where are the options, and how can I customize the sharing plugin?

In WordPress, go to Settings > AddToAny.

Setup Follow buttons (like Instagram, YouTube, etc.) using the AddToAny Follow widget in Appearance > Widgets (or Appearance > Customize).

To further customize AddToAny, see the WordPress sharing documentation for the AddToAny plugin. Many customizations will have you copy & paste one or more lines of code into your "Additional JavaScript" or "Additional CSS" box. Those boxes are in Settings > AddToAny.

Something is wrong. What should I try first?

Try temporarily switching themes and deactivating other plugins to identify a potential conflict. If you find a conflict, try contacting that theme or plugin author. If an issue persists on a default theme with all other plugins deactivated, search the WordPress plugin's support forum.

Feel free to post here, where the community can hopefully help you. Describe the issue, what troubleshooting you have already done, provide a link to your site, and any other potentially relevant information.

The share buttons are not displaying for me. Why, and what should I try?

Something on your own device/browser/connection is likely filtering out major social buttons.

Try another web browser, device, and/or Internet connection to see if the buttons appear. Tools like browserling.com will give you an idea of what other people are seeing. The usual cause for this uncommon issue is 3rd party browser add-on software that blocks ads and optionally filters out major social buttons. Some security apps and Internet connections have an option to filter social buttons. Usually a social filter option is disabled by default, but if you find that some software is inappropriately filtering AddToAny buttons, let AddToAny know.

What is the shortcode for sharing?

You can place your share buttons exactly where you want them by inserting the following shortcode:

[addtoany]

Customize the shared URL like so:

[addtoany url="https://www.example.com/page.html" title="Some Example Page"]

Display specific share buttons by specifying comma-separated service codes:

[addtoany buttons="facebook,mastodon,email"]

Share a specific image or video to certain services that accept arbitrary media (Pinterest, Yummly, Houzz):

[addtoany buttons="pinterest,yummly,houzz" media="https://www.example.com/media/picture.jpg"]

For Facebook sharing, how can I set the thumbnail image and description Facebook uses?

Facebook expects the Title, Description, and preview image of a shared page to be defined in the Open Graph meta tags of a shared page.

Use Facebook's Sharing Debugger on your pages to see how Facebook reads your site. "Scrape Again" to test site changes and clear Facebook's cache of a page, or use the Batch Invalidator to purge Facebook's cache of multiple URLs.

To change the title, description and/or image on Facebook, your theme's header file should be modified according to Facebook's OpenGraph specification. With WordPress, this can be accomplished with plugins such as Yoast SEO or the Social Meta feature of the All in One SEO Pack. Please see those plugins for details, and post in the WordPress or plugin author's forums for more support.

For more technical information on setting your pages up for Facebook sharing, see "Sharing Best Practices for Websites" in Facebook's documentation.

Why do share links route through AddToAny?

AddToAny routing enables publisher customization, visitor personalization, and keeps the AddToAny plugin remarkably lightweight without the need for constant plugin updates. In AddToAny menus, visitors see the services they actually use. On mobile, AddToAny presents the choice of sharing to a service's native app or mobile site and the preference is used on the next share. Publishers take advantage of AddToAny services such as email templates, custom parameters, URL shorteners, localization, and more. Just as service icons change, service endpoints change too, and AddToAny is updated daily to reflect service endpoint and API changes.

Where are buttons such as Instagram, YouTube, Snapchat?

Configure your social media profile links by adding the "AddToAny Follow" widget in Appearance > Customize or Appearance > Widgets.

How can I use custom icons?

Upload sharing icons in a single directory to a public location, and make sure the icon filenames match the icon filenames packaged in the AddToAny plugin. In WordPress, go to Settings > AddToAny > Advanced Options > check the "Use custom icons" checkbox and specify the URL to your custom icons directory (including the trailing /). For AddToAny's universal button, go to Universal Button, select "Image URL" and specify the exact location of your AddToAny universal share icon (including the filename).

How can I place the share buttons in a specific area of my site?

In the Theme Editor (or another code editor), place this code block where you want the button and individual icons to appear in your theme:

<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

You can specify AddToAny service code(s) to show specific share buttons, for example:

<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'buttons' => array( 'facebook', 'mastodon', 'email', 'whatsapp' ), ) ); } ?>

To customize the shared URL and title:

<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'linkname' => 'Example Page', 'linkurl' => 'https://example.com/page.html', ) ); } ?>

To share the current URL and title (detected on the client-side):

<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'use_current_page' => true ) ); } ?>

To hardcode the shared current URL and modify the title (server-side):

<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'linkname' => is_home() ? get_bloginfo( 'description' ) : wp_title( '', false ), 'linkurl' => esc_url_raw( home_url( $_SERVER['REQUEST_URI'] ) ), ) ); } ?>

To share a specific image or video to certain services that accept arbitrary media (Pinterest, Yummly):

<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'buttons' => array( 'pinterest', 'yummly' ), 'linkmedia' => 'https://www.example.com/media/picture.jpg', 'linkname' => 'Example Page', 'linkurl' => 'https://www.example.com/page.html', ) ); } ?>

How can I place the follow buttons in a specific area of my site?

See the supported follow services for service code names, then place this example code in your theme's file(s) where you want the follow buttons to appear:

<?php if ( function_exists( 'ADDTOANY_FOLLOW_KIT' ) ) { ADDTOANY_FOLLOW_KIT( array( 'buttons' => array( 'facebook' => array( 'id' => 'zuck' ), 'instagram' => array( 'id' => 'kevin' ), 'tumblr' => array( 'id' => 'photomatt' ), ), ) ); } ?>

How can I add a custom share button?

You can add the following example PHP code using a "functionality" plugin such as the Code Snippets plugin:

function addtoany_add_share_services( $services ) { $services['example_share_service'] = array( 'name' => 'Example Share Service', 'icon_url' => 'https://www.example.com/my-icon.svg', 'icon_width' => 32, 'icon_height' => 32, 'href' => 'https://www.example.com/share?url=A2A_LINKURL&title=A2A_LINKNAME', ); return $services; } add_filter( 'A2A_SHARE_SAVE_services', 'addtoany_add_share_services', 10, 1 );

How can I add a custom follow button?

You can customize the following example PHP code and add it to a "functionality" plugin such as the Code Snippets plugin:

function addtoany_add_follow_services( $services ) { $services['example_follow_service'] = array( 'name' => 'Example Follow Service', '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 );

How can I align the standard sharing buttons to the center or to the right side of posts?

It depends on your theme, but you can try adding the following CSS code to your Additional CSS box in Settings > AddToAny.

To align right:

.addtoany_content { text-align:right; }

To align center:

.addtoany_content { text-align:center; }

How can I remove the button(s) from individual posts and pages?

When editing a post or page, uncheck "Show sharing buttons", which is located next to the WordPress editor. Be sure to update or publish to save your changes.

An older method was to insert the following tag into the page or post (HTML tab) that you do not want the button(s) to appear in: <!--nosharesave-->

How can I force the button(s) to appear in individual posts and pages?

When editing a post or page, check the "Show sharing buttons" checkbox, which is located next to the WordPress editor. Be sure to update or publish to save your changes. Note that, by default, AddToAny is setup to display on all posts and pages.

An older method was to insert the following tag into the page or post (HTML tab) that you want the button(s) to appear in: <!--sharesave-->

How can I remove the button(s) from category pages, or tag/author/date/search pages?

Go to Settings > AddToAny > uncheck "Display at the top or bottom of posts on archive pages". Archive pages include Category, Tag, Author, Date, and also Search pages.

How can I programmatically remove the button(s)?

You can disable AddToAny sharing using a filter (PHP code) that you can add to a "functionality" plugin such as the Code Snippets plugin.

Disable AddToAny sharing in specific categories, for example:

function addtoany_disable_sharing_in_some_categories() { // Examples of in_category usage: https://codex.wordpress.org/Function_Reference/in_category if ( in_category( array( 'my_category_1_slug', 'my_category_2_slug' ) ) ) { return true; } } add_filter( 'addtoany_sharing_disabled', 'addtoany_disable_sharing_in_some_categories' );

Disable AddToAny sharing on a custom post type, for example:

function addtoany_disable_sharing_on_my_custom_post_type() { if ( 'my_custom_post_type' == get_post_type() ) { return true; } } add_filter( 'addtoany_sharing_disabled', 'addtoany_disable_sharing_on_my_custom_post_type' );

How can I position a vertical floating share buttons bar relative to content?

Go to Settings > AddToAny > Floating > select "Attach to content" then input the CSS selector(s) that match the HTML element you want to attach to.

Is AddToAny GDPR compatible?

Yes, AddToAny is GDPR compatible by default.

How can I load the buttons after content insertion with Ajax and infinite scroll?

AddToAny supports the standard post-load event.

Ajax and infinite scroll plugins/themes should always fire the post-load event after content insertion, so request standard post-load support from plugin & theme authors as needed.

Use the following line to dispatch the post-load event for AddToAny and other plugins:

jQuery( 'body' ).trigger( 'post-load' );

How can I set the plugin as a "Must-Use" plugin that is autoloaded and activated for all sites?

Upload (or move) the add-to-any plugin directory into the /wp-content/mu-plugins/ directory. Then create a proxy PHP loader file (such as load.php) in your mu-plugins directory, for example:

<?php require WPMU_PLUGIN_DIR . '/add-to-any/add-to-any.php';

Screenshots

  1. AddToAny vector share buttons (SVG icons) are pixel-perfect and customizable
  2. Mini share menu that drops down when visitors use the universal share button
  3. Full universal share menu modal that includes all services
  4. Settings for Standard Share Buttons
  5. Settings for Floating Share Bars

Instalar

composer require meteorgpl-plugin/add-to-any

As verificações de licença do fornecedor estão intactas: ative o plugin no WordPress com uma chave de licença comprada do fornecedor.

Licença

Licença declarada: GPL-2.0-or-later. O código é redistribuído sob a licença que o fornecedor declarou nos próprios cabeçalhos do plugin. Perfil de licença: gpl-full.

Arte, fontes, mídia e documentos que possam ter licença própria não são redistribuídos; a página de licenciamento explica o que é substituído ou removido, e a aba de segurança lista isso por versão. O direito a suporte e atualizações vem com a licença que você compra do fornecedor.

Enviar feedback

O que funciona, o que não funciona, o que falta: algumas palavras ajudam.

Só se você quiser uma resposta.

Feita no seu navegador, sem esta janela. Senhas, o que você digitou em formulários, chaves e tokens ficam de fora como blocos cinza; você pode ocultar mais antes de enviar. Guardamos as capturas por 90 dias.

Guardamos com o endereço da página, seu idioma, o tamanho da janela, o navegador e o endereço IP, e seu endereço de e-mail, se você informar um. O endereço IP e o navegador são excluídos após 90 dias. Política de privacidade.

Todos os idiomas