Make shortcode to work on blog page

I have MashSharer plugin installed on my site to show share buttons on the post pages.

This plugin has shortcodes to add it anywhere.
I have blog posts on the Home Page and I want the share buttons to appear below each post.

I have added the below shortcode to the mentioned core file:

<?php echo do_shortcode( ‘[mashshare]’ );?>

The share button appears below each post in the home page, but if you try sharing, it shares the home page, not the particular post.

Can anyone please check and let me know if there are some issues with the code?

Read more here:: Make shortcode to work on blog page

Leave a Reply

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