Skip to content

Latest commit

 

History

History
executable file
·
55 lines (32 loc) · 1.69 KB

README.md

File metadata and controls

executable file
·
55 lines (32 loc) · 1.69 KB

Simple Sharing

Simple Sharing

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.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

If use are looking for CraftCMS 2.5 support use previous project version 1.1.5 which is the latest release for CraftCMS 2.5.

Installing

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require wrav/simplesharing
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for SimpleSharing.

Usage

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, 'google') }}

Credits

Original built while at working at HutSix I've since been granted permission to continue development here.

Change Log

Changes can be viewed here

Support

Get in touch via email or by creating a Github issue

Show your Support

This is licensed under the MIT license meaning it will always be free. If you like the plugin, please feel free to show your support and buy me a 🍻.

Beerpay