Title: get_posts and comments
Last modified: August 18, 2016

---

# get_posts and comments

 *  [marky](https://wordpress.org/support/users/marky/)
 * (@marky)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/get_posts-and-comments/)
 * I’d like to display a full list of post titles and a link to their comments for
   my archives list. I can get all the post titles to display using the get_posts
   fuction, but then the comments_popup_link function doesn’t echo anything.
    Everything
   works if I use the main wordpress loop, but then it will only display the first
   N posts as specified in the admin panel; I need to display all of them. Any ideas?

Viewing 1 replies (of 1 total)

 *  [frankiejr](https://wordpress.org/support/users/frankiejr/)
 * (@frankiejr)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/get_posts-and-comments/#post-114070)
 * I’m having the same problem.
 * My template can only have one full entry per page (it has to do with the way 
   we wanted the layout), but for the archives we really want to have a list of 
   all titles by month.
 * If there’s a solution to this problem, it’ll save my users a hell of a lot of
   clicking to get through the archives. 😉
 * .frankiejr

Viewing 1 replies (of 1 total)

The topic ‘get_posts and comments’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [frankiejr](https://wordpress.org/support/users/frankiejr/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/get_posts-and-comments/#post-114070)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
