HTML Plus Recent Posts by Category Widget


This widget allows you to insert arbitrary Text and/or HTML code (optional) to precede a list of recent posts by category. It makes it easy to add introductory comments and to achieve interesting effects like wrapping your posts list around an image. It’s designed to be lightweight and easy on resources.


  • This is the user interface of the HTML Plus Recent Posts by Category Widget.


  1. Upload the plugin by using Plugins -> Add New.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Add the widget to the desired location in Appearance -> Widgets.
  4. Set the title, text, category.
  5. Save your changes.


Can this widget display more than one category of posts?

You can specify only one post category for each instance of the widget. If you want to display more than one category of recent posts, you can use more than one instance of the widget.

What if I just want to display recent posts by category, and no HTML?

If you don’t need to display any HTML, just leave the HTML section blank.

Can I include an image in the text field?

Yes, you can include images or any other HTML allowed in the default text widget in the text field.

How can I customize the display of the widget?

You can use the class “htmlplusrecpostsbycat”, which wraps the widget, to customize the CSS, as well as the classes assigned by WordPress and your theme.

Is it compatible with PHP 7.4?



There are no reviews for this plugin.

Contributors & Developers

“HTML Plus Recent Posts by Category Widget” is open source software. The following people have contributed to this plugin.




  • Code streamlining.
  • Add PHP requirement.


  • PHP 7.2 compatibility: removed create_function() call
  • WordPress version testing to 4.9.6


  • Fixed POT file location.


  • Added internationalization.


  • Initial release.