Title: Display Post Contents Dynamically
Last modified: August 20, 2016

---

# Display Post Contents Dynamically

 *  [Andrew Mowe](https://wordpress.org/support/users/zamfeer/)
 * (@zamfeer)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/display-post-contents-dynamically/)
 * Hi
 * I’m trying to pull content from posts in one category and display the title, 
   content and attached images into separate divs in a custom page theme. I need
   to be able to toggle through the various posts’ contents by clicking on their
   thumbnails.
 * I can grab the posts with get_posts() and store their data as arrays, but I can’t
   find any way to dynamically change which post’s content is displayed in the page
   divs when the thumbnail is clicked.
 * Is there a way to do this with permalinks or anything else?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [irfan_np](https://wordpress.org/support/users/irfan_np/)
 * (@irfan_np)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/display-post-contents-dynamically/#post-2224823)
 * I think you can get some jQuery content sliders for that.

Viewing 1 replies (of 1 total)

The topic ‘Display Post Contents Dynamically’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [get_posts](https://wordpress.org/support/topic-tag/get_posts/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [irfan_np](https://wordpress.org/support/users/irfan_np/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/display-post-contents-dynamically/#post-2224823)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
