We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Sharing on social media.

How Do I?

RaVlaNa's avatar
RaVlaNa
5 posts
4 years ago
RaVlaNa's avatar RaVlaNa

Hi, I was wondering if it is possible to add buttons at the bottom of blog posts to share the posts on Facebook and Twitter. I know those buttons exist for the pro version via an (expensive) add-on, but can the same be achieved in the free version, and if so, how?

Any help will be much appreciated.

       
shbchk's avatar
shbchk
15 posts
4 years ago
shbchk's avatar shbchk

Hi! Sharing buttons is not part of ExpressionEngine, but you can easily add them in your templates.

For example, you can use https://sharingbuttons.io/ Just replace default URL with {current_url} global variable.

Other options:

https://sharethis.com/platform/share-buttons/

https://www.addtoany.com/buttons/for/website

and dozens other services and methods

       
RaVlaNa's avatar
RaVlaNa
5 posts
4 years ago
RaVlaNa's avatar RaVlaNa

Hi, Thank you for your reply.

However, forgive my ignorance, but I cannot seem to find the variable {default_url), could you give me a push in the right direction, please?

Thank you in advance.

       
Rob Allen's avatar
Rob Allen
3,105 posts
4 years ago
Rob Allen's avatar Rob Allen

Be aware that most 3rd party sharing services collect a horrendous amount of personal data, best to avoid.

Instead you can build your own share links, examples at https://www.trickprof.com/post/Custom-Social-Share-Links and https://css-tricks.com/simple-social-sharing-links/

       
vw000's avatar
vw000
482 posts
4 years ago
vw000's avatar vw000

As Rob said, don’t just put social links on all pages. If you do, make sure they are static buttons, not sending your visitors traffic and information to a third party. Depending on the type of website you run, people might not like that privacy invasion with trackers. The reason Facebook and others give like buttons for free for website owners is because they use them as trackers.

       
FidelPrice's avatar
FidelPrice
1 posts
3 years ago
FidelPrice's avatar FidelPrice

Thanks for the explanation.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.