• Resolved imageoutfitters

    (@imageoutfitters)


    Hi,
    I have assigned a URL address to each of my 12 pictures in my carousel slider. These links all take the viewer to a separate web site. Therefore, I would like to make these webpages open in a new tab so the viewer can manage between the different web sites with ease.

    Is there any way to do this through this plugin?? Have spent way too much time trying to figure this out. Please help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sayful Islam

    (@sayful)

    First Answer: Currently not available by default.

    Second Answer: If you have experience on codding. You can do this by modifying the filter hook. In this case look at templates and shortcodes directories.

    I will consider this option at next version.

    Thank You,
    Sayful Islam

    Hi Sayful
    I don’t have any coding experience, please assist on how and where to edit.

    Plugin Author Sayful Islam

    (@sayful)

    Hi B2Melo,

    Wait a bit I will update it very soon. But If you want now. Download the plugin and extract the zip file. Locate the folder templates and open images-carousel.php and images-carousel-url.php. Now find the following line.
    echo sprintf('<a href="%s">%s%s</a>', esc_url($image_link_url), $image, $full_caption);
    Replace it with the following line.
    echo sprintf('<a href="%s" target="_blank">%s%s</a>', esc_url($image_link_url), $image, $full_caption);

    Here I just add target=”_blank” html attribute.

    Works perfectly, Thanks a lot Sayfful.

    Thread Starter imageoutfitters

    (@imageoutfitters)

    Hi Sayful,

    I will give this a try. Seems like it should work according to B2Melo!
    Thank you for the quick response.

    -Mike

    Plugin Author Sayful Islam

    (@sayful)

    Hello,

    Now you can set link target for image at version 1.6.1

    Thanks,
    Sayful Islam

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Open Link in New Tab!!!’ is closed to new replies.