Sharingbuttons // Social Media Icon Plugin


#1

Because this has been on the plugin wishlist for quite some time, I finally decided to give it a go …

So here’s my Sharingbuttons plugin which basically makes sharingbuttons.io by Max Stoiber configurable within Kirby.

It’s not tested very well so far, so I would love to get some feedback.

:rocket: Plugin on Github


#2

Anyone interested in doing some translations? Would be awesome, if I could add some more languages. So far only English and German are available.

Actually, it’s just the translation of “Share on” and “Share by” …

:smile:

Feel free to contact me or send me a pull request.

l::set('plugin.sharingbuttons.facebook', 'Share on Facebook');
l::set('plugin.sharingbuttons.twitter', 'Share on Twitter');
l::set('plugin.sharingbuttons.google', 'Share on Google+');
l::set('plugin.sharingbuttons.tumblr', 'Share on Tumblr');
l::set('plugin.sharingbuttons.email', 'Share by E-Mail');
l::set('plugin.sharingbuttons.pinterest', 'Share on Pinterest');
l::set('plugin.sharingbuttons.linkedin', 'Share on LinkedIn');
l::set('plugin.sharingbuttons.reddit', 'Share on Reddit');
l::set('plugin.sharingbuttons.xing', 'Share on XING');
l::set('plugin.sharingbuttons.whatsapp', 'Share on WhatsApp');
l::set('plugin.sharingbuttons.hackernews', 'Share on Hacker News');
l::set('plugin.sharingbuttons.vk', 'Share on VK');
l::set('plugin.sharingbuttons.telegram', 'Share on Telegram');

Maybe @Malvese / @Thiousi for French or @jenstornell / @ola for Swedish (no pressure, guys) :wink:


#3

“Dela på Facebook”
“Dela med e-post” or “Dela via e-post”


#4

@flokosiol Dammit, @Thiousi beat me to the punch, he sent his PR 3 mn before I did :smile:


#5

Thanks a lot (all of you), that was really fast. :rocket:


#7

Version 1.1

I finally added support for all the different styles (normal, solid, circle, solidcircle) and added the swedish translations by @jenstornell (hopefully correct).


#8

I think it should be sv.php instead of se.php because the language is sv_SE. The translations are correct but the comment above them refers to fr.php, so that’s wrong.


#9

Alright, thanks Jens. Obviously it was too late yesterday :see_no_evil:


#10

Version 1.2

Thanks to @neildaniels there’s a new version available which adds the possibility to customize the url and the description. Thanks a lot for the contribution!

:tada: