I’m not going to spend much on telling you why you should add social share buttons to your website or anything else. Getting to the job right away. So this snippet includes simple Facebook Like, Facebook Share, Tweet, Google +1 and Pin It buttons.

Lets start!

First lets open header.php, footer.php and functions.php files from your template folder.

In functions.php file insert the following code:


function socialShare(){