Linux 软件免费装
Banner图

Inaikas Posts Widget

开发者 inaikas
更新时间 2026年11月8日 22:08
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

widget posts shortcode popular posts most viewed

下载

1.0.0

详情介绍:

Add a list of posts to a sidebar, or place the same list anywhere with a shortcode. The widget prints nothing when no posts match, so it never leaves an empty box.

安装:

  1. Upload the plugin folder to wp-content/plugins/.
  2. Activate the plugin in Plugins.
  3. Go to Appearance → Widgets and add Posts List (Latest / Best) to a sidebar.

常见问题:

Where do the view counts come from?

The widget reads the view counter stored in the _benqu_views_count post meta. Views are counted on single posts. Editors, bots, previews and REST requests are not counted, and a repeat visit from the same address is ignored for 30 minutes.

Does it work on a large site?

Yes. Counts are also kept in an indexed table, so ordering by most viewed does not depend on a meta join or a filesort. The table is filled in batches when the plugin is activated and stays in sync with the meta counter.

What happens when I uninstall it?

Widget settings, cached lists and the index table are removed. The view counts stored in post meta are kept.

更新日志:

1.0.0