Hello,
I was wondering if there is a plugin (or Extra, Extension or whatever it is called in ModX) to put two buttons at the end of every blog post which allows people to share the posts on Facebook and Twitter.
If someone could point me in the right direction it would be very much appreciated.
Thank you in advance.
The Notify extra will send a tweet and there’s an app that will echo that tweet to Facebook if you use #fb in the tweet. It will also send an email to subscribers or interest groups if you use it with the Subscribe extra.
I think they are referring to share buttons that allow your site vistors to share your content to other platforms. Does Notify do that or is it for the content creator to send/tweet/etc.?
I’ve used AddThis as well. This is the way I’d go.
Now that I look at them, the Share Button extras are all at least 5 years old. The most recent one is Social Share Buttons from Elfsight which I believe requires a paid subscription. LudwigShariff looks like it requires jQuery.
But I’ve adapted it using chunks to let clients fill in the gaps such as twitter handle anf FB address etc…
<div class="socialx"> Share this page: <a href="https://www.facebook.com/sharer.php?u=[[++site_url]][[~[[*id]]]]&title=[[*pagetitle]]" target="_blank"><span class="fi-social-facebook size-21 strong" ></span></a> <a target="_blank" href="https://twitter.com/intent/tweet?text=[[*pagetitle]]. [[*introtext]]&url=[[!++site_url]][[*uri]]&via=[[$twitterShare]]"><span class="fi-social-twitter size-21 strong" ></span></a> <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=[[!++site_url]][[*uri]]&title=[[*longtitle:empty=[[*pagetitle]]]]&summary=[[*introtext]]&source=[[!++site_url]][[*uri]]"><span class="fi-social-linkedin size-21 strong" ></span></a> <a target="_blank" href="https://pinterest.com/pin/create/button/?url=[[!++site_url]][[*uri]]&description=[[*pagetitle]]-[[*introtext]]&media=[[++site_url]][[$pinterest_image]]"><span class="fi-social-pinterest size-21 strong" ></span></a> <a href="mailto:?subject=[[*pagetitle]]&body=[[!++site_url]][[*uri]]"><span class="fi-mail size-21 strong" ></span></a></div>
…this also uses Foundation Icon Fonts to display the social logos but anything can be used there. I stopped using plug-ins because of concerns over privacy and the hassle of having to register sites with 3rd parties. Hope that helps.