• Hello,
    Is it possible with Shadowbox to have three different thumbnails on a static page, and have each of them open a separate album of images? Shadowbox works so globally, I can’t figure out how to do this. Also when I use the Edit Page interface in WordPress, the Shadowbox HTML is not visible to me, though I know it’s there when I view Page Source in my browser. Thanks,
    Cari

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matt Martz

    (@sivel)

    There is not an easy way to have separate default WordPress galleries on a single page. Basically the gallery is tied to the page, so you can only have one gallery per page.

    You can however, create a private page for example, create a gallery on it, and then use [gallery id=123] where 123 is the post ID of the private page.

    Shadowbox should work seamlessly with this method.

    You don’t see the shadowbox html code in your posts as it is added on the fly when generating the page during a request.

    Thread Starter cariscribe

    (@cariscribe)

    Thanks, Matt, this sounds good. I am not sure where to put the [gallery id=123] HTML in the WordPress Edit Page window. I can’t put it on a photo that’s linked to the private page, right, because then that photo would show up in the slide show? So it should be added to a text link? Sorry if I’m being dense. I had thought of making private pages with the separate galleries, just not sure how Shadowbox will “work seamlessly” to show the images on those pages without having the viewer have to click on a link.

    Thanks, I appreciate your speedy response.

    Cari

    Thread Starter cariscribe

    (@cariscribe)

    Hello again, Matt. I’ve been tinkering with this code for the last hour and still can’t get it to work. Tried every variation I can think of, including substituting “album” for “gallery”, based on this info on the Sivel.net Usage page:
    If rel=”shadowbox[album]” is included the portion listed here as [album] will group multiple pictures into an album called album. Do not use [gallery] to define an album as WordPress has a shortcode that will interfere.

    I have not tried adding the rel=”shadowbox”[album] onto the images and not adding it, since you say it is added on the fly, so it seems redundant to add it again, but otherwise how does Shadowbox know it’s an album? I have left the page I am trying to add the extra album to live with the bum link so you can see the code: http://cariferraro.com/gallery/spelling-words/

    I feel so close to an answer but am not quite getting it.

    Thanks,
    Cari

    Thread Starter cariscribe

    (@cariscribe)

    This ALMOST worked when I DID use “gallery” instead of “album” but the WordPress gallery code fouled it up. Matt, it doesn’t seem like this will work. It just takes me to the other page which I have listed privately but it is not seamless at all. Seemed like it might could work but any way I code it it just either shows me the whole other page or even the WP Edit Page page! I was using some old advice of yours I found on the Sivel.net page in the comments, but I think it was for an old version of WP. I wonder if there is something in the Dashboard settings that needs to be changed.

    Cari

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Shadowbox JS] three different Shadowbox galleries on same WP page?’ is closed to new replies.