跳到内容

Hercules Recent Posts from Network

v1.1

Todd Nestor · 2015年1月13日 上架

Hercules Recent Posts from Network creates a widget that displays the recent posts from the entire network.

正在使用
10 以下
评分
5.0 / 5
累计下载
1,560
最近更新
2015年1月19日
1 条评价需要 WordPress 3.0.1+已测试到 4.0.38

贡献者

截图

This is the widget in action with thumbnails enabled
This is the widget in action with thumbnails enabled
This is what users see when they add the widget to a sidebar.
This is what users see when they add the widget to a sidebar.

First of all, this plugin is for a WordPress Multisite setup. The user has the option to display thumbnails or not, and for how many posts they want to display.

This widget works differently than other widgets that display recent posts from an entire network. A network that has lots of blogs (like several hundred, or even several thousand) can take a long time to query each blog and compare the times for the most recent posts.

If you are using some sort of database sharding it will take even more time. This plugin works much more simply, as posts are published on the network they are pushed to a network option that contains an array of the most recent posts from the network.

At first this array will be empty, so it might be a bit until the widget has a full list (up to the maximum set by the user in the widget) of recent posts. Since we are adding posts to the list at the time of publishing this also makes it easy to push the thumbnail to it also, which is why this widget can show thumbnails when lots of other ones can’t.

In a future version we will allow the network admin to limit the people who can use this widget to super admin users. A future option will also allow network options for blogs to ignore (at a network level), blog owners will be able to opt out of having their blog’s posts included, or the network admin will be able to explicitly list blogs that get included.

Plums

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

导航

说明

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

© 2026 Plums