Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,
    Try adding to your child theme’s functions.php
    this

    add_filter('tc_posts_slide_link_target','my_slider_target');
    function my_slider_target($content) {
    return '_blank';
    }

    or

    this

    add_filter('tc_slide_link_target','my_slider_target');
    function my_slider_target($content) {
    return '_blank';
    }

    Thread Starter Tammy

    (@tammy4u2)

    I tried both and neither one worked. Any other ideas?
    Thanks for your help Menaka.
    Tammy

    OK, it can be done by:

    – Go to the Home Page and Edit
    – Look for Slider Options, and I assume you have said Yes to Add the slider to the page
    – For each image in the Slider you can see a button: Edit this slide, Click on it
    – Look down for Open link in a new page/tab and change it to YES

    Thread Starter Tammy

    (@tammy4u2)

    I just realized that I’m using Spacious Theme, not Customizer….no wonder nothing made sense. So sorry and thanks for your help. Tammy

    And I didn’t open the link you provided so am deeply ashamed ??

    Can you mark as [resolved] in the rhs sidebar please.

    Oops, that puts me to shame as well.

    Hi,

    I’m trying to do the exact same thing on the third slider on my site (and hoping to avoid editing code), but cannot see how to do it. I’ve tried rdellconsulting guide but can’t see any slider options. Can it only be done on the paid version and not on the free one? Thanks in advance for any help!

    Jim ??

    Website: https://thegardengateguesthouse.co.uk/

    Start a new post @jimma

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘slider button link to open new page for external link’ is closed to new replies.