• Resolved kilerb

    (@kilerb)


    Hi, one of my slides links to a site outside of my site. I’d like it to open in a new tab so they don’t leave my site when they click the link. Is this possible? Right now it opens on the same page and exits my site. Appreciate it! Thanks

Viewing 1 replies (of 1 total)
  • Theme Author weblizar

    (@weblizar)

    Hello,

    For this , First create a child-theme of the weblizar.

    After creating child theme, copy your front-page.php into your child-themes folder.

    Now find code <a class="btn btn-lg btn-primary" href="<?php if($wl_theme_options['slide_btn_link_1']!='') { echo $wl_theme_options['slide_btn_link_1']; } ?>" role="button"> this the Achor Link for the FIRST SILDE , add target="_blank" in it so the code will look like this <a target="_blank" class="btn btn-lg btn-primary" href="<?php if($wl_theme_options['slide_btn_link_1']!='') { echo $wl_theme_options['slide_btn_link_1']; } ?>" role="button">

    Similarly you can do the same thing to SLide-2 and slide-3 just changing the number ie slide_btn_link_<strong>1</strong>
    to slide_btn_link_<strong>2</strong> and slide_btn_link_<strong>3</strong>

    Save this for your child theme, activate you child theme.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Slider Link to outside site open in a new tab’ is closed to new replies.