跳到内容

Flexible Posts Widget

v3.5.0

DaveE · 2012年4月20日 上架

An advanced posts display widget with many options. Display posts in your sidebars any way you'd like!

正在使用
7,000+
评分
4.7 / 5
累计下载
22 万
最近更新
2017年11月28日
56 条评价需要 WordPress 3.2+已测试到 4.7.40

贡献者

截图

Configuring a FPW in wp-admin with the Post Type tab displayed.
Configuring a FPW in wp-admin with the Post Type tab displayed.
Configuring a FPW in wp-admin with the Taxonomy & Term tab displayed.
Configuring a FPW in wp-admin with the Taxonomy & Term tab displayed.
Configuring a FPW in wp-admin with the ID tab displayed.
Configuring a FPW in wp-admin with the ID tab displayed.
An example FPW displayed using WordPress's TwentyTwelve theme and the default Feature Image (post-thumbnail) size. This demonstrates how the plugin looks out-of-the-box with no user-customized styling or output in a default theme.
An example FPW displayed using WordPress's TwentyTwelve theme and the default Feature Image (post-thumbnail) size. This demonstrates how the plugin looks out-of-the-box with no user-customized styling or output in a default theme.
In the Wild: FPW displaying a selection of featured beers (Post Type: Brew) over at http://canalparkbrewery.com. This example uses slightly customized output and some theme-specific styles.
In the Wild: FPW displaying a selection of featured beers (Post Type: Brew) over at http://canalparkbrewery.com. This example uses slightly customized output and some theme-specific styles.
In the wild: FPW displaying a selection media attachments, with custom thumbnails. This example uses highly customized HTML output and very theme-specific styles.
In the wild: FPW displaying a selection media attachments, with custom thumbnails. This example uses highly customized HTML output and very theme-specific styles.
In the wild: FPW displaying several posts over at http://chnl7700.mnsu.edu. Also highly customized output and theme styles.
In the wild: FPW displaying several posts over at http://chnl7700.mnsu.edu. Also highly customized output and theme styles.

The default Recent Posts widget is exceptionally basic. I always find myself in need of a way to easily display a selection of posts from any combination post type or taxonomy. Hence, Flexible Posts Widget.

Flexible Posts Widget (FPW) is more than just a simple alternative to the default Recent Posts widget. With many per-instance options it is highly customizable and allows advanced users to display the resulting posts virtually any way imaginable.

Features & options

  • Customizable widget title
  • Get posts by post type(s) and/or taxonomy & term(s) or directly by a list of post IDs.
  • Control the number of posts displayed and the number of posts to offset.
  • Option to display the post feature image.
  • Select the post feature image size to display from existing image sizes: thumbnail, medium, large, post-thumbnail or any size defined by the current theme.
  • Order posts by: date, modified date, ID, title, menu order, random, Post ID Order; and sort posts: ascending or descending.
  • Each widget’s output can be customized by user-defined templates added to the current theme folder.
  • Multi Language support. Compatible with WPML and PolyLang for sure. Not tested with other multi-language plugins, but it should work.

Plugin Hooks

Flexible posts widget currently has two public hooks:

Future updates & feature requests list

  • Use search box instead of ID text field for post id’s
  • Shortcode functionality.
  • Get posts by Author.
  • Filter out the post currently being viewed.
  • Get posts from the same archive (term/post type/etc).
  • Limit results by a time period.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums