2013-03-12 19:46:54 +00:00
|
|
|
Illustrated Recent Posts Widget
|
|
|
|
===============================
|
|
|
|
|
|
|
|
Plugin Name: Illustrated Recent Posts Widget
|
|
|
|
Plugin URI: http://github.com/elfsternberg/illustrated-recent-posts-wp/
|
|
|
|
Description: This plugin creates a fairly limited widget, but the magic in the CSS creates a lovely background for individual posts.
|
|
|
|
Version: 0.1.0
|
|
|
|
Author: Elf Sternberg
|
|
|
|
Author URI: http://www.elfsternberg.com/
|
|
|
|
Copyright: 2013 Omaha Sternberg (http://igameradio.com)
|
|
|
|
License: GPLv3
|
|
|
|
License URI: http://www.gnu.org/copyleft/gpl.html
|
|
|
|
Tags: recent posts, images, category, categories, widget, post list, exclude, include
|
2013-03-12 17:47:45 +00:00
|
|
|
Tested up to: 3.5
|
|
|
|
|
2013-03-12 19:46:54 +00:00
|
|
|
Description
|
|
|
|
-----------
|
2013-03-12 17:47:45 +00:00
|
|
|
|
|
|
|
This is a fairly ordinary extension of the Recent Posts widget.
|
2013-03-12 19:48:46 +00:00
|
|
|
What's useful about it is that scans each recent post for an image
|
2013-03-12 17:47:45 +00:00
|
|
|
and, if one is found, adds it to a div at the end of the returned HTML
|
|
|
|
object. With a little CSS magic (see the included CSS file), the
|
2013-03-12 19:48:46 +00:00
|
|
|
image is faded out slightly, like a background, and the text
|
|
|
|
superimposed above it. This can be really attractive for gaming and
|
|
|
|
movie sites. This effect, or something like it, can be clearly seen
|
|
|
|
at theverge.com's home page, and I've implemented it for
|
|
|
|
iGameRadio.com.
|
2013-03-12 17:47:45 +00:00
|
|
|
|
|
|
|
You can limit them by category (for example, "podcasts" or "news").
|
|
|
|
|
|
|
|
I wrote this for my wife's website. Ah, the things we do for love.
|
|
|
|
|
2013-03-12 19:46:54 +00:00
|
|
|
To Install
|
|
|
|
----------
|
2013-03-12 17:47:45 +00:00
|
|
|
|
|
|
|
Extract the contents of the zip file to your wp-content/plugins
|
|
|
|
folder, then activate the plugin through the "Plugins" menu in your
|
|
|
|
admin center. You will have to drag-and-drop the widget to a sidebar
|
|
|
|
using the Widgets admin pages.
|
|
|
|
|
2013-03-12 19:46:54 +00:00
|
|
|
Recommendation
|
|
|
|
--------------
|
2013-03-12 17:47:45 +00:00
|
|
|
|
|
|
|
The plugin doesn't work well at all without the included css (see
|
|
|
|
irpw.css included in this folder). This will position the content and
|
|
|
|
the images relative to each other, and that's the effect you're
|
|
|
|
looking for.
|
|
|
|
|
2013-03-12 19:46:54 +00:00
|
|
|
TODO
|
|
|
|
----
|
2013-03-12 17:47:45 +00:00
|
|
|
|
|
|
|
Implement and understand the caching feature as seen in
|
|
|
|
default-widgets.php.
|
|
|
|
|
|
|
|
Implement a per-post styling filter that allows us to colorize each
|
2013-03-12 19:48:46 +00:00
|
|
|
image as seen at theverge.com, as well as alter the opacity, depending
|
|
|
|
upon the user's wishes.
|
2013-03-12 17:47:45 +00:00
|
|
|
|
|
|
|
Implement variable display fields (author, date, comment count) on
|
|
|
|
each article.
|
|
|
|
|
|
|
|
|