WordPress Social Sharing Icons without Plugin

Now a day’s social bookmarking buttons has been necessary for our blogs to sharing the content or blog post on different social networks. And if you are using WordPress then obviously you will be using any plugin for sharing. But today we will tell you how to make custom social sharing icons. If you are developing any you wordpress site then you will have to need this code rather you use any plugin.

Follow these steps to make your own social bookmarking custom buttons.

Step 1: Find Perfect Icons

You will have to need first of all images of social bookmarking. If you are designer then you can create yourself from scratch. You can use text link if you need but I will prefer strongly that you use social icons because readers are familiar with icons to share the articles.

You can find icons from google image search or can find icons from any free site. After making or searching your required images place them your active theme’s folder in the wp-content folder.

Step2:  Where to add the code

Now in the second step edit the file where you have to place the code. Go to wp-content/themes/your-theme/single.php and find the below mentioned code.

Step 3: Add Images

Now add you images after the “the_content” function

Using above code your icons will be display after the post content. And now add sharing code with images, format will be like this

The href parameter and title parameter will change according to the network you are working on. Use the following lines of code to create a hyperlink to each sharing site:










Leave a Reply

Your email address will not be published. Required fields are marked *