How To Add Facebook Share Button To Your Site
March 15th, 2018 | by Ravi Chahar || 6 Comments |
Every social networking website provides the freedom to add the official button to the website. Do you know how to add Facebook share button to your site without using any plugin?
WordPress has many social sharing plugins which can help you to add the button. But why would you want to use a plugin if you can do the task without using any?
Facebook is one of the biggest social platforms where you can brand your business and drive traffic to your blog. In this tutorial, you will learn how to add Facebook share button to your site using the official code Facebook provides.
Generate The Code from the Developer’s Page
Every social networking website has the code generators and for Facebook, you have to visit the developer’s page.
Step 1:- If you scroll a little bit down, you will notice a few fields to fill. You have to add the URL you want to get shared.
Step 2:- There is another option to choose the layout of the button. If you want to show the number of counts or not, You can add the box instead of the simple button.
There are many options given in the drop-down menu. The choice will be yours. Just choose your favorite option and generate the code by clicking on the “Get Code” button.
You can use any plugin to embed the code or if you have a little bit of knowledge about HTML then just add it manually in the theme files of your website.
Step 4:- There is another code shown as STEP 3. You can use this code to place where you want to add Facebook share button to your website.
You can add it to the sidebar, footer, or anywhere you want.
I hope Now You Can Easily Add Facebook Share Button To Your Site
Facebook can bring more visitors to your blog. The more share you get, the more people would come across your blog.
Adding the share button always works. You can enhance your social engagement with many people. Connect with the people who share. Facebook can help you to build your social brand.
The above method can be followed to add Facebook share button with the clean code.