The plugin will add social share links to your [Pico] (https://github.com/gilbitron/Pico) posts and pages. Supported services: Twitter, Facebook, Google+, LinkedIn.
- Copy
pico_share.php
to theplugins
folder. - Update your theme to use the links generated by the plugin.
- Set configuration variables if defaults are not suitable.
services - select which services are enabled. default: all services enabled
$config['social']['services'] = array('twitter' => true, 'facebook' => true, 'google' => true, 'linkedin' => false);
output - select how services will be displayed. default: list. options: list | link
$config['social']['output'] = 'link';
class_prefix - add class(es) to a
tags. by default, every service will have a btn-service
class. default: btn-
$config['social']['class_prefix'] = 'buttons btn-';
Just add {{ social_share }}
to your theme.
Social Sharing is free to use under the MIT License.
There is no stylesheet provided. If you need help with styles, check [pure-extras] (https://github.com/narcis-radu/pure-extras), [social-sharing] (https://github.com/cferdinandi/social-sharing/) or any CSS snippets.