Nice and easy PHP Social Sharing Buttons for your site

Just include this php file then call its function to make social share buttons on any page of your site easily.

Watch how to do it in this video:

Get the source code used in this video from my GitHub page:

Sharing buttons powered by

For making dynamic PHP sharing buttons that you can apply for every page of your website, you can do it somehow you echo the current url and description of a page that visitor is seeing inside the function call as the parameters.

Currently it’s showing some social share buttons such as Facebook, Twitter, WhatsApp, Telegram, etc. To add more button, kindly visit the link above and figure out how to tweak the PHP function that I’ve made.


Leave a Reply

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