Title: Please add classes to various elements
Last modified: August 21, 2016

---

# Please add classes to various elements

 *  Resolved [Ominous_Penguin](https://wordpress.org/support/users/ominous_penguin/)
 * (@ominous_penguin)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/please-add-classes-to-various-elements/)
 * The _ul_ and _li_ elements both have a blank class attribute ‘_class=””_‘.
 * The only element with a class is the date: _<h3 class=”date”>_
 * Thankfully my use case is pretty simple so I can style it through descendant 
   selectors. If I had multiple widgets in the same widget area then things would
   get complicated.
 * Please just add a ‘recent-posts’ class to the ul!
 * Thanks for an otherwise good widget.
 * [http://wordpress.org/extend/plugins/recent-posts-with-excerpts/](http://wordpress.org/extend/plugins/recent-posts-with-excerpts/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Ominous_Penguin](https://wordpress.org/support/users/ominous_penguin/)
 * (@ominous_penguin)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/please-add-classes-to-various-elements/#post-3948862)
 * Ah I see there’s a filter hook for them.

Viewing 1 replies (of 1 total)

The topic ‘Please add classes to various elements’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-with-excerpts.svg)
 * [Recent Posts with Excerpts](https://wordpress.org/plugins/recent-posts-with-excerpts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-with-excerpts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-with-excerpts/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-with-excerpts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-with-excerpts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-with-excerpts/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [Ominous_Penguin](https://wordpress.org/support/users/ominous_penguin/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/please-add-classes-to-various-elements/#post-3948862)
 * Status: resolved