Share Buttons – New Window - by makyol

This topic has 9 replies, 4 voices, and was last updated 6 years, 11 months ago ago by Olga Barlow

  • Avatar: makyol
    makyol
    Participant
    May 16, 2017 at 13:31

    Hello,

    When share buttons are pressed on at the product page, then it opens a new tab. But I want that link in a new window with small dimensions within the current product window, not in new tab. Is it possible?

    Thanks, regards.

    Mehmet

    8 Answers
    Avatar: makyol
    makyol
    Participant
    May 17, 2017 at 15:13

    Will anybody reply this?

    Avatar: amzy
    Amzy Leel
    Participant
    May 18, 2017 at 06:04

    Sorry.. there is no such an option for this for now.
    You will be needing to edit PHP part for this and need to add some JavaScript code if you want to do this.

    Avatar: makyol
    makyol
    Participant
    May 18, 2017 at 10:12

    Hello,

    If there are already ready codes then I can insert them into related parts. Or If you indicate relevant PHP I can dig by myself

    Thanks and regards,

    Avatar: maxmullins
    Max Mullins
    Participant
    May 18, 2017 at 12:40

    Hello,

    You may check and edit line 393 in
    /wp-content/themes/xstore/framwork/shortcodes.php
    The custom js file creation lays beyond the scope of our basic support. Please also note that any customization should be done within Child theme to prevent overwriting them on next theme update.

    Regards,
    Max Mullins

    Avatar: makyol
    makyol
    Participant
    May 18, 2017 at 15:17

    I will do it and let you know the result.

    Thanks and regards,

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 19, 2017 at 13:43

    You are welcome!

    Regards

    Avatar: makyol
    makyol
    Participant
    May 19, 2017 at 16:26

    Hello,

    I did it. Of course, at child theme.
    It works like a charm. Thanks for your guidance.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 19, 2017 at 17:16

    I’m glad that our assistance was helpful. Have a good day!

    Regards

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.