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'm building a site with a slideshow at the top of the page. I've got a unique situation in which the post that the image in the slideshow links to is not necessarily in the post itself.

There are two requirements:

  1. Not all posts should go in the slide show. I need a way to designate a post for display in the slideshow. I was thinking of possibly assigning it a category. The problem with this is that we're already using categories for more traditional reasons. Using categories in this manner seems "hacky" to me, and I'd like to avoid it if possible

  2. We need a way to associate an image to the post. This image may not necessarily be in the post itself. I was hoping there was a way to upload an image to a custom field, but I haven't been able to find that yet.


Thanks in advance!

share|improve this question
  1. You could create a custom meta box that has a checkbox for whether or not to show in the slideshow.

  2. Post Thumbnails/Featured Images sound like what you're looking for. Note that images uploaded/attached to a post in WordPress do not necessarily have to appear in the content.

share|improve this answer

re 1. if you don't want to use a separate category, for example sth like "featured", then I would indeed either use the custom meta box that @helenhousandi suggested or perhaps set up a separate taxonomy for that purpose alone.

re 2. nothing to add to @helenhousandi

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.