Title: Creating new script with recent posts
Last modified: August 19, 2016

---

# Creating new script with recent posts

 *  [adammw](https://wordpress.org/support/users/adammw/)
 * (@adammw)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/creating-new-script-with-recent-posts/)
 * Hi,
    I am trying to generate an image with my site’s recent posts in it, but 
   I’m not sure how. I don’t really want to use the RSS feeds as that would be effectively
   doing things twice.
 * How can I, in a completely new PHP page, get the 3-5 latest posts in a certain
   category from my WordPress blog?
 * Thanks

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/creating-new-script-with-recent-posts/#post-1124319)
 * [http://codex.wordpress.org/Template_Tags/query_posts](http://codex.wordpress.org/Template_Tags/query_posts)

Viewing 1 replies (of 1 total)

The topic ‘Creating new script with recent posts’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [gd](https://wordpress.org/support/topic-tag/gd/)
 * [new page](https://wordpress.org/support/topic-tag/new-page/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/creating-new-script-with-recent-posts/#post-1124319)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
