Last Viewed

plugin banner

Just another last-viewed widget. To show de last visited posts and custom posttypes.

Author:Wouter Dijkstra (profile at wordpress.org)
WordPress version required:3.3
WordPress version tested:5.5.5
Plugin version:6.2.1
Added to WordPress repository:05-06-2013
Last updated:17-11-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:98
Rated by:26
Plugin URI:http://wouterdijkstra.com
Total downloads:20 227
Active installs:700+
plugin download
Click to start download

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


Screenshots
FAQ
ChangeLog