Image Gallery function in Sandbox forces link as attachment, can’t link to file?
-
Hello-
I’m using the Sandbox theme for my WordPress blog. One strange quirk of this theme is that when you add images to a post with the [gallery] function (as opposed to adding individual images), you can’t link the thumbnails directly to the image file even if you tell it to (like so: [gallery link="file"] ). It forces the thumbnails to link to the respective attachment pages no matter what. Without knowing enough to edit the code in function.php, the only way I’ve been able to bypass this is to comment out the gallery part of function.php altogether. This does allow you to post a gallery with the thumbs linking directly to the image files, but the subsequent format of the thumbs is screwed up in the post (spacing is all weird and breaks the html).
Surely someone else has had this problem as it seems built into the Sandbox theme. Does anyone have a work-around edit for function.php?
Thanks,
Jeremy
- The topic ‘Image Gallery function in Sandbox forces link as attachment, can’t link to file?’ is closed to new replies.