=== Plugin Name === Contributors: noumaan, Olaf Baumann, smub Donate link: http://www.wpbeginner.com Tags: posts, post, page, pages viewed, recent, widget, sidebar, visitor, history Requires at least: 2.1 Tested up to: 3.5.1 Stable tag: 0.7.2 This plugin displays the posts (and pages - if you want) that have been recently viewed by the visitor (single view). Data is saved in cookie for each visitor. == Description == This plugin displays the posts (and pages) that have been recently viewed by the visitor (single view). The posts are saved in a cookie and by default the last 10 posts that have been visited are displayed. Note that this is NOT a global listing of recently viewed posts by all users! Nothing is stored in the database. Every vistor has their own unique listing of the single posts that they have viewed. If cookies are not accepted or no single post has been clicked, no output will be displayed. The plugin comes with a widget and a template tag. This plugin has been adopted and maintained by [WPBeginner](http://www.wpbeginner.com "WPBeginner - WordPress Tutorials for Beginners") [Take a look at plugins we are using at WPBeginner](http://www.wpbeginner.com/blueprint/ "Take a look at plugins we are using at WPBeginner") [Learn WordPress with free WPBeginner videos](http://videos.wpbeginner.com "Checkout out WPBeginner's WordPress tutorial videos") == Installation == Viewed posts are always tracked as long as the plugin is active and the visitor has enabled the cookies. Download and unzip the plugin file. Upload last_viewed_posts.php to your /wp-content/plugins/ directory. Go to the admin backend and activate the plugin. To display the list, you can use the widget that comes with the plugin or use the following code and place it anywhere you want to, but outside the loop, e.g. sidebar.php :