Support » Plugin: WordPress Social Sharing Plugin - Sassy Social Share » Bug? E-mail share button opens in same window

  • Resolved hastibe

    (@hastibe)


    When the “share via e-mail” button option is selected, clicking on it results in a web-based e-mail client (e.g. Gmail) loading in the same window, instead of in a new tab or window. This is the only button that doesn’t open in a new tab or window, and might be a bug? Regardless, is there a way to have the button open in a new tab or window, like all the other social share buttons do?

    • This topic was modified 1 year, 3 months ago by hastibe.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Heateor Support

    (@heateor)

    will take care of it in upcoming releases.

    Thank you so much–we really appreciate that!

    Plugin Author Heateor Support

    (@heateor)

    You’re welcome.

    Just checking-in, @heateor, and wondering if you’re still planning on addressing this in an upcoming release–I was thinking that it maybe has been forgotten about?

    Plugin Author Heateor Support

    (@heateor)

    @hastibe Sorry for the delay. Keeping it for upcoming release.

    @heateor – unless we’ve missed it as an option that we need to check in settings, we’re still waiting for the “share via e-mail” button behavior to be fixed so that it opens in a new window, like the other social share buttons.

    It has been almost 4 months (and multiple releases have passed), since our first post above and your mention of this being taken care of in future releases, which has been a long time to wait!

    To avoid an even longer wait, would it be possible to provide a code snippet for us to make this modification now?

    Plugin Author Heateor Support

    (@heateor)

    Sorry for being late. Will definitely fix this in the next release. Till then, you can replace the existing “wp-content/plugins/sassy-social-share/includes/class-sassy-social-share-sharing-networks.php” file with the one at following link:
    https://gist.github.com/Heateor/02d3199bd1d446e843ed156489c2f7ca

    Thank you so much! We appreciate this greatly.

    Plugin Author Heateor Support

    (@heateor)

    You’re welcome 🙂

    In case this is helpful to anyone else, since the last update (to 3.2.27), I believe what now should be done to have the e-mail share button open in a new window is to replace just the text on (for version 3.2.27, at least) line 55 of “wp-content/plugins/sassy-social-share/includes/class-sassy-social-share-sharing-networks.php” with the following below.

    'email' => '<li class="%li_class%"><i %style% alt="%title%" Title="Email" class="heateorSssSharing heateorSss%ucfirst_network%Background" %amp_email% onclick="window.open(\'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ).replace(\'&\', \'%26\') + \'&body=\' + decodeURIComponent(\'%encoded_post_url%\' ), \'_blank\')"><ss style="display:block" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Bug? E-mail share button opens in same window’ is closed to new replies.