I am using your easy-social-media plugin to add the social buttons to a wordpress site I'm working on for a customer.
On this site's front page, we have some static content, and then there are blog posts displayed as well. I've modified my index.php for the site to show the easy social buttons after each blog post on the index page.
However, when I do this, the share buttons all try to share the homepage, and not the link to the blog that they should be referring to.
I've modified your code slightly to allow passing of a URL to the add_social_buttons function. I thought I'd share this code modification with you, and if you wanted you could integrate this into futre releases.
Here's a diff that shows the changes I've made:
And I call the function like this in my index.php from wordpress:
echo add_social_buttons($content, get_permalink());
Hope you like my addition! Thanks for the plugin!
[sig moderated as per the Forum Rules]