Title: Display posts from array using jQuery
Last modified: August 21, 2016

---

# Display posts from array using jQuery

 *  [azndriver](https://wordpress.org/support/users/azndriver/)
 * (@azndriver)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/display-posts-from-array-using-jquery/)
 * As a preface, I am fairly new to using WordPress and I don’t understand the syntax
   used in many of the support/documentation posts (I am use to programming in Python
   and Java).
 * Here is my problem: I want to use get_posts or something similar to generate 
   an array of posts based on an ID tag. Once I have that, I want to use a [jQuery UI slider](http://jqueryui.com/slider/)
   to load a specific post depending on the position of the slide bar.
 * I currently have a test HTML page that can use the slider to change the “href”
   attribute of a hyperlink, but this obviously isn’t the functionality I want.
 * Can someone point me in the right direction as to what functions I need to use
   to work with an array of posts and display one of them?

The topic ‘Display posts from array using jQuery’ is closed to new replies.

## Tags

 * [get_post](https://wordpress.org/support/topic-tag/get_post/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [azndriver](https://wordpress.org/support/users/azndriver/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/display-posts-from-array-using-jquery/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
