WordPress.org

Ready to get started?Download WordPress

Forums

TheThe Image Slider
Open link in new window (4 posts)

  1. Andrea Reed
    Member
    Posted 1 year ago #

    Is there a way to have the image open the url in a new window when clicked on?

    Thank you,

    Andrea

    http://wordpress.org/extend/plugins/thethe-image-slider/

  2. jkwilson23
    Member
    Posted 1 year ago #

    open thethe-image-slider/thethe-image-slider.php

    Find this line:
    $output .= $url ? ' ' : '';

    Change to:

    $output .= $url ? ' ' : '';

    That should do it :)

  3. jkwilson23
    Member
    Posted 1 year ago #


  4. jkwilson23
    Member
    Posted 1 year ago #

    open 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>' : '';

    trying this again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic