A 1.4 Sneak Peek: Killer Recent Entries

This article is deprecated! Any technical information contained herein likely refers to software versions that are now obsolete. Please visit our blog home page for current updates.

For most of Thesis’ life, it has contained a wonderfully flexible function, thesis_widget_recent_posts(), which allowed the display of recent posts from defined categories in the sidebar. However, this has never been a true widget and, restricted to widgets, most people only ever use WordPress’ built-in “Recent Posts” widget.

With Thesis 1.4, we aim to make the display of recent posts much more flexible with the aptly named Killer Recent Entries widget. And yes, this is a real widget that you can add or remove right from your Widgets panel.

The widget’s options allow you to title the widget, choose whether to only show posts from a certain category, select how many posts to list, and choose whether or not to display how many comments the post has.

And unlike most widgets, Killer Recent Entries is a true multi-use widget — you can add as many instances of the widget as you’d like to your sidebars.

I know we’re all excited about the new homepage/feature controls being introduced in 1.4, but I didn’t want you all to miss out on this great new feature!

About the author: Thesis creator Chris Pearson is obsessed with optimizing the web and making sure every last detail receives the attention it requires. Follow DIYthemes on Twitter for the latest tips and info on building truly awesome websites.