Title: Recent Posts Loop?
Last modified: August 19, 2016

---

# Recent Posts Loop?

 *  [stjimmy](https://wordpress.org/support/users/stjimmy/)
 * (@stjimmy)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/recent-posts-loop/)
 * I’ve added the “recent posts” widget, but I was hoping to customize the look 
   surrounding it, but I have no idea where that kind of stuff is located.
 * I’m sure it’s possible, and I don’t think every theme I’ve seen uses the same
   style for each widget, but I can’t seem to find out which file contains the code
   I need to edit.

Viewing 1 replies (of 1 total)

 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/recent-posts-loop/#post-672007)
 * I use this widget on my site too. Depending on what you need to do, There are
   two places that you modify code to customize the widget:
 * **1. Your theme’s ‘style.css’ file**
    The following id and classes are applied
   to the `<li>` tag that wraps around the widget.
 *     ```
       #recent-posts
           .widget
           .widget_recent_entries
       ```
   
 * **2. WordPress Core**
    I believe that the core WordPress function that generates
   the html can be found here:
 * `/wp-includes/widgets.php -> line 806`

Viewing 1 replies (of 1 total)

The topic ‘Recent Posts Loop?’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Fields](https://wordpress.org/support/users/mfields/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/recent-posts-loop/#post-672007)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
