• Resolved JackMess

    (@jackmess)


    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)
  • Plugin Author Heateor Support

    (@heateor)

    Hi,

    You would like to make sure correct post ID is being passed in the function get_post_permalink($post->ID). If you sill face the issue, let me know the url of the web page where you are facing this issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Social share in a loop’ is closed to new replies.