Title: offset for comments
Last modified: August 18, 2016

---

# offset for comments

 *  [ehehrmann](https://wordpress.org/support/users/ehehrmann/)
 * (@ehehrmann)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/offset-for-comments/)
 * I want to limit the number of comments shown below the post to 20 and place a
   link to a page with all comments.
 * For posts it works like this:
 *     ```
       <?php
       $posts = get_posts('numberposts=64');
       foreach($posts as $post) :
       setup_postdata($post);
       ?>
       ```
   
 * But how for comments? Can anybody help?

The topic ‘offset for comments’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ehehrmann](https://wordpress.org/support/users/ehehrmann/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/offset-for-comments/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
