• Resolved databell96

    (@databell96)


    I’ve got an issue where I’ve got a Smooth Slider inside of an iframe and when I click on ‘Read More’, it brings up the link inside of the frame. I don’t want that. I want it to link out either to the parent target window or a completely new window. I saw on line 157 of skins/default/functions.php the following:

    <p class="smooth_more"><a href="'.$permalink.'" target="_blank" '.$smooth_slider_css['smooth_slider_p_more'].'>'.$smooth_slider['more'].'</a></p>

    But in my sliders code, there’s no target=”_blank” at all. Is that the line where the link is coming from? Or is it somewhere else? I need to add this code?

    https://wordpress.org/plugins/smooth-slider/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    Yes, you need to add this code to open link in new window. We have tested that, it is working properly.

    Just do same code in line no 452 of skins/default/functions.php

    Let me know if it helps.

    If still problem persist there, then send us link where you embedded smooth slider so that we can look into issue and try ti solve it.

    Thank you,

    Regards,
    Sagar.

    Thread Starter databell96

    (@databell96)

    Thanks. That did work for me. Thanks for clearing it all up.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Smooth Slider, functions.php and target="_blank"’ is closed to new replies.