If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
July 19, 2013 at 1:11 pm #26469
I’ve setup a slideshow on my home page and have applied a manual link to one of the slides in the “Caption Advanced” tab of my home page. Is there an easy way to get that to open in a new window?
Thanks for your help!July 20, 2013 at 10:40 am #130521
Open includes > helper-slideshow.php, find this code
if($button) $button = "<a class='avia-button on-primary-color primary-background primary-border caption-slideshow-button $nextSlide ".$key."class' href='$button' title='' >".$slide[$key.'title']."</a>";
Replace it with:
if($button) $button = "<a target='_blank' class='avia-button on-primary-color primary-background primary-border caption-slideshow-button $nextSlide ".$key."class' href='$button' title='' >".$slide[$key.'title']."</a>";
IsmaelJuly 20, 2013 at 1:22 pm #130522
Replaced code but still not opening in a new window. Any other strategies??
Thank you!!July 22, 2013 at 7:04 am #130523
Can you post a link to the website please? We’ll investigate the html code to find the reason why it’s not working.
PeterJuly 23, 2013 at 1:58 pm #130524
http://www.shawgraphicdesign.com (its the third slider image that says “Click to View Catalog”)
Thanks PeterJuly 24, 2013 at 2:05 pm #130525
The code above will make a button you add to the slide open in a new window but not the slide itself which would actually effect all slideshows throughout the theme.
So what you should do is remove the button from the image and the link on that slide. Then go to the Caption Advanced tab on that image and fill in the fileds for the Caption Call to Action button.
DevinJuly 24, 2013 at 6:33 pm #130526
Thanks for looking into but i don’t want the slide to open in a new window. Maybe I’m not understanding correctly but I just want to have a new “linked” window opened up. For example, the slide that has a button that says “click to view catalog” (created in PS) should when you click on it, open a new window with the linked URL that was placed in “captions default”. Right now it just will open in same window.
Thanks and hope I’m making sense.July 24, 2013 at 6:56 pm #130527
The topic ‘Open Link In New Window in Advanced Caption’ is closed to new replies.