I have this issue too. On any kind of archive or category page with multiple posts the shared url is not the url of the individual post in the loop but the url of the main page.
Any Ideas anyone? Single pages are ok.
Found this thread:
https://wordpress.org/support/topic/share-buttons-not-sharing-the-specific-post-url?replies=6
The code has moved to a block that starts at line 84 in inc/ssba_buttons.php
// if running standard
if ($booShortCode == FALSE) {
// use wordpress functions for page/post details
$urlCurrentPage = get_permalink($post->ID);
$strPageTitle = get_the_title($post->ID);
} else { // using shortcode
// set page URL and title as set by user or get if needed
$urlCurrentPage = (isset($atts['url']) ? $atts['url'] : ssba_current_url($atts));
$strPageTitle = (isset($atts['title']) ? $atts['title'] : get_the_title());
}
If you change the //using shortcode methods of getting the URL to the standard method that’s in the block above it seems to fix it. Wondering if David has any input on this? Is it something to do with the way the posts are being queried in my theme? I’m also pulling ssba directly via do_shortcode() in the template