Support » Plugin: Storefront Product Sharing » Facebook social share link returns to blank page

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve the same problem also with Twitter..

    Hello,

    Have you managed to get this to work somehow? I encounter the same issue, after sharing on Facebook there’s not a return back to the site page, the URL freezes on “https://www.facebook.com/dialog/return/close?#_=_”

    Thanks,
    Daniel

    I’ve got a workaround for this, but it is just a temporary solution. I’m posting here, just in case anyone wants to use this fix.
    I’ve added a target = "_blank" on Facebook li class in storefront-product-sharing.php (this is the controller in the plugin directory).

    So, just change this block

    <li class="facebook"><a href="<?php echo esc_url( $facebook_url ) ; ?>"><?php _e( 'Share on Facebook', 'storefront-product-sharing' ); ?></a></li>
    with this one
    <li class="facebook"><a target = "_blank" href="<?php echo esc_url( $facebook_url ) ; ?>"><?php _e( 'Share on Facebook', 'storefront-product-sharing' ); ?></a></li>
    in
    storefront-product-sharing.php on the plugin directory.
    Warning: this will be overwritten on any update of the plugin, so it’s just a temporary solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Facebook social share link returns to blank page’ is closed to new replies.