TDD Recent Posts
This is a very simple plugin that mimics the effect of the “recent posts” widget included with WordPress, but with the addition of a content preview. The plugin will, by default, display the name of the post (with a link) and a short bit of text from the post. The number of characters to truncate is
This is a very simple plugin that mimics the effect of the “recent posts” widget included with WordPress, but with the addition of a content preview. The plugin will, by default, display the name of the post (with a link) and a short bit of text from the post.
The number of characters to truncate is controllable in the widget panel.
Limitations
- The plugin strips out any HTML tags from the post before displaying it, so if you are looking to display images — this isn’t your plugin.
Screenshots & previews.
Same ol’
Do your normal plugin installation routine. There are no settings, just the options in the widget itself. The widget title is TDD Recent Posts. It does not replace the existing Recent Posts widget.
Frequently asked questions.
Can I set it to display pages as well as posts?
Yes — actually, any post type or any query you want — although it is not in the admin menu. 1. Open tddrecentposts.php 1. Around line 124, you’ll find the query arguments. 1. Add (or remove) query arguments from the array as discussed here: https://codex.wordpress.org/Function_Reference/query_posts 1. Or, request that I add the feature in the next version.
________ screwed up OR _________ isn’t working…
Sorry? Plugin dev isn’t my full time job. Shoot me an email or post on my website and I’ll try to fix it.