Slider buttons with web links opening in new window/tab

Darren Bessette December 22, 2019 at 6:28 pm

Hi,

Is there a way to have the hyperlinks used in buttons on the slider images to open in a new tab/window instead of the website’s current one? All other hyperlinks in the text on pages allow for this but I have not found a way to do this with the slider buttons.

Thanks,

Darren.

Replies (1)

  1. Darren Bessette December 22, 2019 at 6:28 pm

    Hi,

    Is there a way to have the hyperlinks used in buttons on the slider images to open in a new tab/window instead of the website’s current one? All other hyperlinks in the text on pages allow for this but I have not found a way to do this with the slider buttons.

    Thanks,

    Darren.

  2. Spiracle Themes December 23, 2019 at 8:28 am

    Hi Darren,

    There is no direct option for this. I am writing a few steps that you can follow to do this

    Step 1) Open control panel and find website files which are usually under the public_html folder
    Step 2) Go to wp-content/plugins/somapro-theme-functionality/inc/register_shortcode.php
    Step 3) Open this file in a text editor and find line number 59 which is $output.= '<a class="video-popup-link" href="'.....
    In this add target=”_blank” ie $output.= '<a target="_blank" class="video-popup-link" href="'.....
    Step 4) Repeat this for line numbers 64, 71 and 76
    Step 5) Save it and check

    Note: This will add the functionality for all the slides

    Let us know if you have any questions

    Best Regards

Post a Reply

Reply To: Slider buttons with web links opening in new window/tab
Your information: