Title: [ PHP Code ] RSS Feed Pull script
Last modified: August 19, 2016

---

# [ PHP Code ] RSS Feed Pull script

 *  [kmpoaquests](https://wordpress.org/support/users/kmpoaquests/)
 * (@kmpoaquests)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/php-code-rss-feed-pull-script/)
 * I’m currently using this strip of php code to pull the latest 5 posts from my
   photoshop brush site [phatbrush](http://www.phatbrush.com) and have it post to
   the sidebar of my other blog [sherifabdou](http://www.sherifabdou.com).
 * It works perfectly as it should be but does anyone know if there is an edit I
   can make to the php code I use below ?
 *     ```
       <?php include_once(ABSPATH . WPINC . '/rss.php');
       wp_rss('http://www.InsertSiteHere.com/feed', 7); ?>
       ```
   

The topic ‘[ PHP Code ] RSS Feed Pull script’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [kmpoaquests](https://wordpress.org/support/users/kmpoaquests/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/php-code-rss-feed-pull-script/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
