• This question falls into the newbie category. I spent a little time today exploring WordPress’s built in gallery feature, and it’s either extremely limited or I’m missing something (while I can miss a lot, I have the feeling that it’s the former).

    I can create a gallery in a post, but it appears that a gallery cannot be reused in another post. Gallery’s don’t seem to be created things, and are rather virtual galleries that live only in a post. Is this true?

Viewing 1 replies (of 1 total)
  • From the Codex documentation on the Gallery Shortcode:

    Specifying IDs in your shortcode allows you to include images in your gallery that aren’t necessarily “attached” to your post — that is to say, not uploaded from within your post or page. This flexibility allows you to create and embed any number of galleries containing any number of images!

    Note: If you choose to just use the “barebones” version of the [gallery] shortcode in your post or page, only images that are “attached” to that post or page will be displayed.

    In short, when you insert a gallery into a WordPress page or post, you are inserting a shortcode that displays either images specified by their image IDs like so [gallery ids="729,732,731,720"], or a gallery that displays only the images attached directly to the page or post like so [gallery].

    If you specify the image IDs, you could copy and paste that shortcode to create the exact same gallery on any page or post.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress's built in gallery feature’ is closed to new replies.