Title: Loop within a Loop
Last modified: August 20, 2016

---

# Loop within a Loop

 *  [MykMallett](https://wordpress.org/support/users/mykmallett/)
 * (@mykmallett)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/loop-within-a-loop-2/)
 * Is it possible to grab a few details of a post, when displaying another post,
   if I know the post_id?
 * I have the marketpress plug-in that makes products sellable by using custom post
   types. I want to be able to link a product (tickets) to a post (an event) so 
   that it grabs the details of the product and displays it at the bottom – then
   customer clicks to go to the product page. I would do this using a drop down 
   selection box in the create post page to select which tickets to use.
 * can you initiate another loop within a single post loop?

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

 *  [p15](https://wordpress.org/support/users/p15/)
 * (@p15)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/loop-within-a-loop-2/#post-2084448)
 * Hi not sure exactly how to do what your asking, but there are a few plugins that
   are designed for events and selling tickets. such as [Events Manager](http://wordpress.org/extend/plugins/events-manager/screenshots/)
   There are others too but cant think off the top of my head.
 * Hope this helps!
 *  [haydenhancock](https://wordpress.org/support/users/haydenhancock/)
 * (@haydenhancock)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/loop-within-a-loop-2/#post-2084469)
 * You can do a loop within a loop.
 * Read the “Multiple Loops” section in:
    [http://codex.wordpress.org/The_Loop](http://codex.wordpress.org/The_Loop)

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

The topic ‘Loop within a Loop’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [haydenhancock](https://wordpress.org/support/users/haydenhancock/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/loop-within-a-loop-2/#post-2084469)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
