Image Gallery function in Sandbox forces link as attachment, can't link to file? (2 posts)

  1. earthtojeremy
    Posted 6 years ago #


    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?


  2. earthtojeremy
    Posted 6 years ago #

    Nevermind. Did a little research and found the Cleaner Gallery plug-in (http://wordpress.org/extend/plugins/cleaner-gallery/). Problem solved.

Topic Closed

This topic has been closed to new replies.

About this Topic