Social share in a loop
-
Hey guys,
I have a post loop and a page where I am looking to display user last post with a share button for each post.
I am using this code :
<?php echo do_shortcode( ‘[Sassy_Social_Share_Premium type=”standard” url=”‘.get_post_permalink($post->ID).'”]’ ); ?>
So far, it looks like it only work for the first post displayed, as for other post, when I try to share, it gives me the first link.
Am I missing something ?
Thanks for the support.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Social share in a loop’ is closed to new replies.