Tagged: Lightbox Portfolio
If I create a portfolio, and then assign the portfolio items within to open in lightbox rather than link to post … is there a way for the next and previous buttons (of the lightbox) to move through the photos in that portfolio?
I can add a jquery hack which accomplishes my goal:
$('#main .template-portfolio-overview .post-entry .slideshow_media_wrap a').attr('rel', 'lightbox[auto_group99]');
Which will rewrite all the auto_groups and make the lightbox work like I’d like. Is there a non-hack way of doing this?
I doubt you will find a quicker and easier way to do this. I think you found an excellent solution since everything else will require a lot of code rewriting.
OK, thanks. I’m continuously surprised by how flexible the choices theme is … and how much is going on under the hood. So it was worth asking. Thanks.
The topic ‘link portfolio lightboxes’ is closed to new replies.