With Newspaper V4, I was able to delete some lines of javascript to force the template to use the “attachment.php” page instead of a modal pop-up. How do I do this with Newspaper V6?
I’ve tried removing the highlighted portion, but this doesn’t seem to work.

What am I doing wrong?
Hi,
You can disable lightbox for gallery from booster functions – http://screencast.com/t/yj5nb3ovx52A
Thanks!
Hi Alin,
Do I just remove the highlighted portion? I noticed that the line “jQuery(document).ready(function() {” line was not highlighted. The reason I’m asking is because I just removed what you highlighted and I’m still getting the lightbox on my galleries.
Example: http://gossiponthis.com/2015/05/21/usher-bobby-v-others-clubbing-cirque-atlanta-photos/
Hi,
I think the paragraph that has to be deleted is this one: http://screencast.com/t/THL0r5GJ . I’ve tested it and it works.
sorry about that
Yeah, that’s the file I edited the first time, and it didn’t work for me. This time I edited the file directly from the server (instead of on my local machine first) and that still didn’t work.

I’m no longer getting a modal lightbox when I click on an image in an embedded gallery, but now when I click on the image, it goes to the JPG instead of the attachment page.
It’s like something in the theme is forcing our galleries to link to the media file instead of the attachment page. Do I need to remove the other lines of code from the booster functions file as well?
See here:
http://gossiponthis.com/2015/05/21/usher-bobby-v-others-clubbing-cirque-atlanta-photos/
ALSO, just so you know, ALL OF OUR GALLERIES are set to link the thumbs to the attachment page and NOT the media file.

