Title: post category variable depending on pages?
Last modified: August 19, 2016

---

# post category variable depending on pages?

 *  [forcetwelve](https://wordpress.org/support/users/forcetwelve/)
 * (@forcetwelve)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/post-category-variable-depending-on-pages/)
 * hi. i’m new to wordpress development – and loving it!
 * what i have is a site that is a pages/cms type site, ie no blog. i have a 2 column
   layout – text on the left, and image on the right.
    currently i am using categories
   and the query_posts tag to place the images in the right hand side on each page.
   the problem with this is i have to have a category for each pages right hand 
   side column.
 * what i would like to do is be able to use a variable(?) which will place the 
   image (from the post) in the image column for each page automatically, without
   having to have all the categories.
 * is this possible? thx for any help in advance!
 * AG

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/post-category-variable-depending-on-pages/#post-1238177)
 * What about [Custom Fields](http://codex.wordpress.org/Custom_Fields)?
 * Related:
    [http://www.google.com/search?q=wordpress+custom+fields+images](http://www.google.com/search?q=wordpress+custom+fields+images)
 *  Thread Starter [forcetwelve](https://wordpress.org/support/users/forcetwelve/)
 * (@forcetwelve)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/post-category-variable-depending-on-pages/#post-1238186)
 * i need to be able to have multiple images, running vertically down the column.
   is this possible with custom fields?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/post-category-variable-depending-on-pages/#post-1238201)
 * You can create custom fields with the same key and multiple values if needed.
 *  Thread Starter [forcetwelve](https://wordpress.org/support/users/forcetwelve/)
 * (@forcetwelve)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/post-category-variable-depending-on-pages/#post-1238202)
 * how would i go about this MichaelH?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/post-category-variable-depending-on-pages/#post-1238223)
 * Start by looking at the links I provided.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘post category variable depending on pages?’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [columns](https://wordpress.org/support/topic-tag/columns/)
 * [pages](https://wordpress.org/support/topic-tag/pages/)
 * [query_posts](https://wordpress.org/support/topic-tag/query_posts/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/post-category-variable-depending-on-pages/#post-1238223)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
