WordPress.org

Ready to get started?Download WordPress

Forums

TheThe Image Slider - Slide options for slide url (1 post)

  1. jkwilson23
    Member
    Posted 1 year ago #

    Would like to add the option on slide urls to open in new window or not. Can do one or the other across the board but would like the option for each slider link.

    This is where I set option one way or the other: thethe-image-slider/thethe-image-slider.php

    $output .= $url ? '<a class="slide-link" href="http://'.$url.'" title="'.$slide['title'].'">&nbsp;</a>' : '';

    change to:
    $output .= $url ? '<a class="slide-link" target="_blank" href="http://'.$url.'" title="'.$slide['title'].'">&nbsp;</a>' : '';

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags