APP_Widget_Recent_Posts
Customizable Post Loops widget
Package
Description Description
Displays posts of selected type with large number of options. Each post wrapped with its own ‘widget’ wrapper, what allows apply widget styles separately. Usefull for horizontal widgets areas, where each widget placed in own cell in row.
Options:
title
– Widget title
Query posts parameters:
post_type
– Select one of public post types (post, page, CPTs)number
– Number of posts to displaypost__in
– IDs of posts to displaysticky
– Display only sticky posts (if post type supports)
Template options (if template
supports them):
template
– Post content template name. Tries locate template with this name, otherwise tries to load template with name ‘content-recent-posts.php’, otherwise will load supplied own template with name ‘content-recent-posts.php’show_rating
– Display Rating (requires "StarStruck" plugin)show_date
– Display post dateshow_thumbnail
– Display post thumbnailshow_readmore
– Display ‘Read More’ link
Internal options:
images_url
– Images folder URL with trailing slashstyle_url
– URL to widget styles file (not used by default)script_url
– URL to widget scripts file (not used by default)