Simple Sharing is a CraftCMS plugin that generates social media share links within the Craft CP page, allowing you to quickly and easily share entries.
Current Version: 2.0.0
This plugin requires Craft CMS ^4.0.0.
If you are looking for CraftCMS 3.x support, use current project Version 1.0.8
If you are looking for CraftCMS 2.5 support, use previous project version 1.1.5
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require wrav/simplesharing
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for SimpleSharing.
Your able to generate share links on the fly in a template as followed.
{{ craft.simpleSharing.link(url, 'facebook') }}
{{ craft.simpleSharing.link(url, 'twitter') }}
{{ craft.simpleSharing.link(url, 'linkedin') }}
{{ craft.simpleSharing.link(url, 'mix') }}
{{ craft.simpleSharing.link(url, 'tumblr') }}
{{ craft.simpleSharing.link(url, 'reddit') }}
Original built while at working at HutSix I've since been granted permission to continue development here.
Changes can be viewed here
Open-source projects like this one are looking for your help. Feel free to submit a PR or tackle an issue.
Get in touch via email or by creating a Github issue