Hi, great lightweight plugin by the way. I have used it successfully on a couple of sites.
But on one site I am creating the incorrect link is being shared. This doesn't happen on straightforward pages or single blog posts. Only on the main blog page, the home page where it lists portfolio CPTs, another CPT page of client logos.
Basically where the page has multiple posts it's grabbing the final post title and link instead of the page as a whole. If I try and use
wp_reset_postdata() it always takes the first post on the page instead. Very strange.
Any ideas? I can DM/email you WP login details if you like. I'm using version 1.3.0. Thanks in advance.