Skip to content

An often overlooked method of implementing social sharing buttons (without counters) on your site. Super lightweight without any external loading or JavaScript, fully customisable using CSS alone. WordPress plugin also included.

Notifications You must be signed in to change notification settings

seanng17/Simple-Social-Sharing-Buttons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Social Sharing Buttons

An often overlooked method of implementing social sharing buttons (without counters) on your site. Super lightweight without any external loading or JavaScript, fully customisable using CSS alone. WordPress plugin also included.

Check out the demo or Read all about it

[built by Boon](here: http://builtbyboon.com/) - given away free

If you have questions or put this to use then hit me up on Twitter

Using the WordPress plugin

Download simple-social-sharing.php, upload it into your plugins folder and activate it. To call the buttons anywhere in your theme, use the function <?php simple_social_sharing('mattberridge'); ?> including your Twitter username.

If you wish to show/hide any of the buttons individually, add a further attribute e.g. <?php simple_social_sharing('mattberridge', '0,1,0'); ?>

These are toggles for each button in the order Facebook, Twitter, Google+. 1 means show, 0 means hide.

I have also created a shortcode (to be used in the content body) which follows the same form e.g. [simple-social-sharing twitter="mattberridge" display="0,1,0"]

About

An often overlooked method of implementing social sharing buttons (without counters) on your site. Super lightweight without any external loading or JavaScript, fully customisable using CSS alone. WordPress plugin also included.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 39.0%
  • CSS 34.1%
  • HTML 26.9%