Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want several galleries, every gallery containing several images.

What is the proper way to do this two-level structure?

I'd make every element of each gallery a post.

share|improve this question
    
i'm having trouble understanding your last sentence. each sub-gallery has several images that are posts? –  peteroak Aug 12 '12 at 10:42
    
@peteroak: Yes. –  porton Aug 12 '12 at 10:51

1 Answer 1

Wordpress Posts (First level)

Yes, the posts feature can be used as a gallery. WordPress provides nice short code to show all the attached images in post. While adding galleries make sure they point to attachment page not to the real file.

When user clicks on any of image from the gallery they'll get to the attachment page.

Attachment template (Second level) - Codex

An "attachment" is a special post that holds information about files uploaded through the Media upload system.

You can use attachment template to show image as post and I guess, by little configuration you can enable comments for attachment posts too.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.