micropat
Forum Replies Created
-
Forum: Plugins
In reply to: [AddToAny Share Buttons] Sharing to Bluesky sometimes hangsThis is best reported to the Bluesky folks since it’s a Bluesky bug and/or scaling issue.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Change the icon TwitterHello,
Just select the X share button instead in Settings > AddToAny > Add/Remove Services.
The cause is the
perfmatters
plugin and its reckless use of the outdated “FastClick” script, which improperly overrides click/touch events on mobile. FastClick hasn’t been useful for over a decade and only adds bugs and bloat to a site. From the authors of FastClick:Note: As of late 2015 most mobile browsers – notably Chrome and Safari – no longer have a 300ms touch delay, so fastclick offers no benefit on newer browsers, and risks introducing?bugs?into your application.
https://github.com/ftlabs/fastclickNo plugin or theme should be using FastClick. Report it as a bug to the author(s).
You can strip the
#
value by modifying the shared URL like so:a2a_config.callbacks.push({
share: function(data) {
// Remove the hash from all shared URLs.
data.url = data.url.split('#')[0];
return data;
}
});Just add the above code to your Additional JavaScript box in Settings > AddToAny.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Unable to share to Facebook pagePer the FAQ on Facebook sharing, you’ll want to troubleshoot with Facebook’s sharing debugger, which currently shows:
Can’t Download
Could not resolve the hostname into a valid IP address
That means Facebook servers can’t reach your page, probably due to a “security” plugin or something else that blocks bots/crawlers.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Are there any plans to add other networks/icons??Are there any plans to add other networks/icons??
Always!
Twitch and Steam buttons are rolling out now and will be available for everyone in about 24 hours.
I recommend a single block of code altogether like this, which includes a custom SVG icon for Throne:
<div class="a2a_kit a2a_kit_size_42 a2a_default_style a2a_follow" data-a2a-icon-color="#180023,#04c77c">
<a class="a2a_button_x" ></a>
<a class="a2a_button_bluesky" ></a>
<a class="a2a_button_instagram" ></a>
<a class="a2a_button_discord" ></a>
<a class="a2a_button_youtube" ></a>
<a class="a2a_button_twitch" ></a>
<a class="a2a_button_steam" ></a>
<a >
<span class="a2a_svg" style="background-color: #0b0b2b; width: 42px; line-height: 42px; height: 42px; background-size: 42px; border-radius: 6px;">
<svg title="Throne" xmlns="https://www.w3.org/2000/svg" width="42" height="42" fill="none"><path fill="#04c77c" d="M27.634 21.692c-.11.223-.254.424-.428.6l-5.38 5.513c-.247.254-.476.608-.83.608-.368 0-.602-.373-.858-.636l-5.356-5.486a1.39 1.39 0 0 1-.086-.092c-.601-.675-.717-1.65-.293-2.482l6.068-11.912a.614.614 0 0 1 .524-.286.61.61 0 0 1 .517.274l3.042 5.97 3.041 5.972c.32.626.334 1.358.04 1.957ZM21.18 32.018 6.028 16.586l-.048-.05a.598.598 0 0 0-.38-.136.636.636 0 0 0-.492.243.583.583 0 0 0-.086.503l4.409 15.2c.105.364.276.7.51 1 .028.038.06.075.09.11.524.609 1.313.942 2.132.942.318 0 .64-.05.951-.155a24.98 24.98 0 0 1 7.07-1.253c.206-.015.41-.028.613-.038a.575.575 0 0 0 .425-.221c.1-.128.138-.29.107-.446a.547.547 0 0 0-.149-.266v-.001Zm15.544-15.524v.001c-.192-.13-.437-.123-.692.03a.592.592 0 0 0-.114.09L22.94 29.856a.558.558 0 0 0-.002.787l2.27 2.326c.27.276.615.465 1.002.547 1.03.217 2.051.502 3.038.847.23.08.468.12.708.12.297 0 .595-.061.878-.182.49-.2.912-.516 1.223-.915.232-.298.405-.635.512-1.001l4.41-15.207a.613.613 0 0 0 .02-.203.57.57 0 0 0-.276-.48Z"/></svg>
</span>
</a>
<a class="a2a_button_email" href="mailto:[email protected]"></a>
</div>Just replace the example email address and you should be good to go.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Plugin not workingThe share buttons are displaying on the site for visitors (as you can see with tools such as browserling.com), so you’ll want to troubleshoot your own device/browser/connection.
Forum: Plugins
In reply to: [AddToAny Share Buttons] plugin is deactivated but JS still loadsYou’ll want to purge a cache somewhere since some plugin is caching AddToAny (etc.) on your site:
/main/wp-content/cache/minify/c7ad3.default.include.e55989.js
Forum: Plugins
In reply to: [AddToAny Share Buttons] Only show the Universal Button on mobileHello,
Yes, to show only the universal share button on mobile within the shortcode, you can add some code to your “Additional CSS” box in Settings > AddToAny:
/* Only show the Universal Button on mobile within the AddToAny shortcode. */
@media screen and (max-width: 1080px) {
.addtoany_shortcode a:not(.addtoany_share) { display: none; }
}Forum: Plugins
In reply to: [AddToAny Share Buttons] Sharing link with query to LinkedInUsing LinkedIn’s Post Inspector (per AddToAny’s doc on meta tags) you can see that the page’s canonical URL needs to be fixed since it’s pointing to the
/job-board
page.Hello,
Similar to this topic on sharing audio files, the only reliable way is to have a dedicated page per image.
The preview image on social networks is basically static per page — it cannot be dynamic unfortunately.
Forum: Reviews
In reply to: [AddToAny Share Buttons] Technical support is not respondingYou’re reviewing AddToAny’s WordPress plugin though, so check out the plugin’s FAQ and feel free to post a support topic.
Forum: Reviews
In reply to: [AddToAny Share Buttons] Technical support is not respondingYou have not posted in the plugin’s support forum.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Share links / individual assets in page (audio)AddToAny shares URLs, and successful audio/visual sites have this in common: Each media file has its own dedicated web page & URL.
If you’re trying to share an audio file directly, you will run into issues on social networks, and you will be forfeiting site/brand awareness, SEO, etc. Have AddToAny share a web page instead.
Only with a web page can you set the preview image, description, etc. using HTML meta tags.
Forum: Reviews
In reply to: [AddToAny Share Buttons] Customizable and intuitiveSo that wasn’t super intentional?! ??
Additional CSS is the way to change the size of the Image URL, specifically something like:
a.addtoany_share img { height: 36px !important; width: 36px !important; }