Title: Need help with asides
Last modified: August 18, 2016

---

# Need help with asides

 *  [nicorten](https://wordpress.org/support/users/nicorten/)
 * (@nicorten)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/need-help-with-asides/)
 * Hello all
 * I’ve added asides to my blog ([http://www.bildredakteur.net](http://www.bildredakteur.net))
   using the code found here to show posts in a special category. It works great.
   That’s how the code looks at the moment:
 *     ```
       <ul>
       <?php rewind_posts(); ?>
       <?php if ($posts) : foreach ($posts as $post) : start_wp();
       ?>
       ```
   
 * What I now would like to do is limit the asides to the last 2 posts. Tried to
   do it with a for-loop, but it doesn’t work. Has somebody an idea how to fix this?
 * Many thanks
    Alain

Viewing 1 replies (of 1 total)

 *  [ehab](https://wordpress.org/support/users/ehab/)
 * (@ehab)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/need-help-with-asides/#post-533600)
 * Could you paste the full code that you used for the aside ?

Viewing 1 replies (of 1 total)

The topic ‘Need help with asides’ is closed to new replies.

## Tags

 * [asides](https://wordpress.org/support/topic-tag/asides/)
 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [limit](https://wordpress.org/support/topic-tag/limit/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 1 reply
 * 2 participants
 * Last reply from: [ehab](https://wordpress.org/support/users/ehab/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/need-help-with-asides/#post-533600)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
