Title: Adding Recent Comments and Posts to sidebar
Last modified: August 18, 2016

---

# Adding Recent Comments and Posts to sidebar

 *  Resolved [aidanl](https://wordpress.org/support/users/aidanl/)
 * (@aidanl)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/adding-recent-comments-and-posts-to-sidebar/)
 * Hi, I have looked around the forum and documentation and been unable to find 
   out how to recent comments and posts on my sidebar. I know it can be done by 
   using Sidebar widgets however I have had problems with that and wanted to try
   just putting the code into the sidebar.php file.
 * If anyone has any information on this or can direct me to a suitable and relevant
   post on this forum it would be much appreciated.
 * Thanks in advance.
 * Aidan

Viewing 1 replies (of 1 total)

 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/adding-recent-comments-and-posts-to-sidebar/#post-492555)
 * I am now very interested in this. Built in widgets include recent comments and
   recent posts. But where are the widgets to be found? And the function info in
   the codex is a bit sparse. My question basically is how do you call recent posts/
   comments outside of the widget sidebar? TY.

Viewing 1 replies (of 1 total)

The topic ‘Adding Recent Comments and Posts to sidebar’ is closed to new replies.

## Tags

 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [recent](https://wordpress.org/support/topic-tag/recent/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Root](https://wordpress.org/support/users/root/)
 * Last activity: [18 years, 10 months ago](https://wordpress.org/support/topic/adding-recent-comments-and-posts-to-sidebar/#post-492555)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
