Hi there,
Sorry for the late reply.
Would you post the url of the web page where you are facing this issue?
Thread Starter
stejy
(@stejy)
Hi,
Thanks for getting back to me. It’s on a multisite setup, I don’t know if that would cause an issue? An example of the sites is https://marketingtechnews.net/.
Thanks
I cannot see standard share bar at your web page. If you enable the same, I would be able to check. I noticed there are two floating bars overlapping each-other. You can add following CSS in the Custom CSS option at Super Socializer > General Options page to remove the duplicate one.
div.most-read div.the_champ_vertical_sharing{display:none}
Thread Starter
stejy
(@stejy)
Sorry I should have said, the share buttons on the articles are hidden initially with CSS and revealed on hover of the little icon next to the article date. You can then click them as usual but they all just share the page details rather than the article.
It’s because you have customized the way share icons appear at your website. Let me know what code you have used to customize the default behavior of icons so that I can help you out.
Thread Starter
stejy
(@stejy)
Hi,
It looks like the icons are called by embedding the shortcode as the page loops through each post.
<div class="share-icon">
<div class="sassy-share"><?php echo do_shortcode('[TheChamp-Sharing]') ?></div>
</div>
CSS is then used to initially hide the social icons until the user hovers over the “share icon” we add.
I guess that the shortcode is picking up the page ID rather than the post ID within the loop?
Any help is much appreciated.
Thanks
You should use the “url” attribute in the shortcode, like
<div class="share-icon">
<div class="sassy-share"><?php echo do_shortcode('[TheChamp-Sharing url="' . get_permalink( $post->ID ) . '"]') ?></div>
</div>
Thread Starter
stejy
(@stejy)
That fixed it. Thanks for your help!