Slider buttons with web links opening in new window/tab

This topic is empty.

Viewing 1 reply thread
  • Author
    Posts
    • #1866


      Darren Bessette
      Guest

      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.

    • #1868


      Spiracle Themes
      Guest

      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

Viewing 1 reply thread

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

Your information:




Cancel