GithubHelp home page GithubHelp logo

lipsworld / simple-social-sharing-buttons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dekimpeb/simple-social-sharing-buttons

0.0 2.0 0.0 74 KB

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.

Home Page: http://builtbyboon.com/posed/Simple-Social-Sharing-Buttons/

HTML 26.92% PHP 38.94% CSS 34.13%

simple-social-sharing-buttons's Introduction

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"]

simple-social-sharing-buttons's People

Watchers

James Cloos avatar Carlos Matos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.