跳到内容

Switch Last Posts Widget

v1.1

LordPretender · 2013年10月5日 上架

A widget which displays the latest posts according the current category.

正在使用
10+
评分
暂无
累计下载
1,894
最近更新
2013年12月12日
需要 WordPress 3.6.1+已测试到 3.6.1

贡献者

Based on the native “Recent Posts” widget, this one displays the recent posts accord the root category of the current post (or category).

You will have to define a main and secondary category.
By default, the main one is used to display the latest posts. If visitors are not currently in the secondary (or sub-categories), then it is this one which is used.

This widget is interresting when you have 2 different categories (with no linked subject) and you want to display the latest posts of the other category, rather than display all (or from the current one).

Configuration

The parameters are the same as the native widget, with the addition of :

  • Main category ID ;
  • Secondary category ID.

You will have to enter categories ID (only one per field).

Plums

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

导航

说明

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

© 2026 Plums