DD Last Viewed

DD Last Viewed | Wouter Dijkstra

Description

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
  • load widget with 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

Installation

  1. Upload the dd-lastViewed directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. customise the widget

OPTIONAL ADVANCED (customise widget template):

  1. Copy dd_templates/widget.php
  2. Paste clipboard in theme folder
  3. Start customising the template

You can use [dd_lastviewed widget_id=”12″] as shortcode to publish the widget inside a page or a post. Do not forget to use the correct id!

Plugin author

Wouter Dijkstra

Plugin official website address

https://wordpress.org/plugins/dd-lastviewed/
If you encounter problems in using the DD Last Viewed plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published. Required fields are marked *