跳到内容

DD Last Viewed

v6.2.1

Mosterd3d · 2013年6月5日 上架

Shows the users recently viewed/visited posts, filtered on types or terms, in a widget.

正在使用
400+
评分
4.9 / 5
累计下载
2.6 万
最近更新
2020年11月18日
26 条评价需要 WordPress 3.3+已测试到 5.5.25

贡献者

截图

DD Last Viewed
DD Last Viewed

This plugin contains the lastViewed widget. This widget shows the users recently viewed/visited Posts, Pages, Custom Types and even Terms in a widget. Very nice to use in combination with Woo-commerce!
Using caching plugins? No problem! By 2 easy clicks you can bypass the caching and still get the best performance out of this widget.

The widget is fully customisable:

  • Filter on Types and Terms
  • Set the maximum
  • Set thumbnail on/off
  • Show Content(rich or plain) or Excerpt
  • Set the excerpt length
  • Add links to elements
  • Set cookie lifetime
  • Set cookie same site
  • Set cookie secure
  • Set cookie by PHP or JS
  • load widget with PHP or AJAX

customise the widget template by copy the file “dd-templates/lastviewed-widget.php” from the plugin directory into your theme directory. You can now start customising the widgets template.

If one of the posts with the filtered types or terms gets visited in the front, a cookie sets/updates with an array of visited ids. Each widget has his own cookie, so you can set as many widgets as you want.

Arbitrary section 1

Plums

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

导航

说明

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

© 2026 Plums