WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am putting together a little gallery/portfolio for a friend's work and I am struggling to work out where a plugin starts and theme begins.

I'm trying to achieve a simple grid of images which link to a detailed view. Inside the detailed view it is just the image, a little description and then a zip download button.

How can I do this with WordPress?

share|improve this question
Hi, plugin recommendations are off-topic per this site FAQ and I took the liberty of removing it from your Question. Don't worry, because if a plugin solution applies to the Q, it can be freely suggested in Answers. – brasofilo Mar 24 '13 at 22:19
thanks I wasn't aware. – henry.oswald Mar 24 '13 at 22:40

You can use the built-in functionality to solve this: The WordPress Gallery. Each post and page (and normally custom types) can have files of all kind attached to it. You upload them through the Add Media button, and have the option to make a Gallery with the images attached to this post/page or with other library images.

When you insert a Gallery in a post/page, it will display as a grid of images that will link to the attachment page or the image itself.

Here's when plugin and theme play their part. There are plugins to open the images in a overlay effect ("Lightbox"), others that manipulate the default gallery (Jetpack) and others that do the gallery with their own interface/style.

With the default gallery, the theme files used are this, and they are used in order: if 1) exists, it is used, otherwise 2) is used, if not exists, 3 and so on.
Let's say in you theme the file attachment.php is going to be used to show the detailed view. You can add the link to the zip file in the image description, and have this template file to print the description. Some posts about images description here in WPSE.

share|improve this answer

Your Answer


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.