Title: Posts Viewed Recently
Author: Amit Sonkhiya
Published: <strong>April 29, 2014</strong>
Last modified: December 10, 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/posts-viewed-recently.svg)

# Posts Viewed Recently

 By [Amit Sonkhiya](https://profiles.wordpress.org/amitaits/)

[Download](https://downloads.wordpress.org/plugin/posts-viewed-recently.1.3.2.zip)

 * [Details](https://twd.wordpress.org/plugins/posts-viewed-recently/#description)
 * [Reviews](https://twd.wordpress.org/plugins/posts-viewed-recently/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/posts-viewed-recently/#installation)
 * [Development](https://twd.wordpress.org/plugins/posts-viewed-recently/#developers)

 [Support](https://wordpress.org/support/plugin/posts-viewed-recently/)

## Description

This plugin contains a responsive widget for showing posts or pages recently visited
by a visitor. Posts Viewed Recently plugin is capable to show custom post types 
and you can also show this widget on your page/post using shortcode provided in 
widget options.

With this plugin you can choose post types to show, the number of posts to display,
show or hide the featured image, dimensions of the featured image and alternate 
image URL if featured image is not available, and display post date or not.

For more detail, visit [the plugin page](https://www.astech.solutions/wordpress-javascript-jquery-plugins/posts-viewed-recently/)
at our official website. You are welcome to post issues, contribution and feature
requests at [GitHub repo](https://github.com/as-tx/posts-viewed-recently).

To show this widget in any post/page, copy and paste the shortcode generated by 
the widget to that post or page.

**This plugin uses cookie and if cookies are not accepted or any two single posts(
of selected post types) haven’t been clicked yet, no output will be displayed.**

Since Posts Viewed Recently plugin uses cookies so it is your responsibility to 
obtain user consent before using the plugin to comply with GDPR. Generally, your
GDPR related WordPress plugin/implementation should be able to delete cookies upon
rejection by the user. In such case, the plugin won’t output anything.

## Screenshots

 * [[
 * Widget options
 * [[
 * Viewing the widget with thumbnail

## Installation

This section describes how to install the plugin and get it working.

e.g.

 1. Install Posts Viewed Recently plugin either via the WordPress.org plugin directory
    or by uploading the posts_viewed_recently folder to `/wp-content/plugins/` directory
    at your server
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Drag Posts Viewed Recently widget from list of your `Available Widget` to the sidebar
    where you want to place the widget
 4. Customize the setting as per your requirement and you’re ready

## FAQ

### How to use it?

Enable the plugin and place the widget in the sidebar wherever you want

### What if some of my posts/pages have no featured image attached?

You can specify an alternate image URL in the widget option. Image from that URL
will be used if no featured image found

### How can I show this widget into my post or page?

Use shortcode generated by the widget to display into your page/post

### Is this responsive?

Yes, widget created by Posts Viewed Recently plugin is responsive

### Does this plugin has its own CSS rule for link and text colours?

No, this plugin doesn’t have any CSS rule for link and text colours. It just inherits
those from your theme’s styles

## Reviews

![](https://secure.gravatar.com/avatar/21491678c3e4a7d3c6ed32e07d43ad79cf4a9c252986fba953e6cdff017c9610?
s=60&d=retro&r=g)

### 󠀁[Not clear why, but it not showed up at all onWP 6.0](https://wordpress.org/support/topic/not-clear-why-but-it-not-showed-up-at-all-onwp-6-0/)󠁿

 [Polaris](https://profiles.wordpress.org/namrur/) July 8, 2022

Plugin does snot show any inforamation of any of the pages or posts. Matbe it is
just not up to date anymore.

![](https://secure.gravatar.com/avatar/6748096252a4aafe3f38ecb5bd2d987759c693d4ba2e235431513e16a94e3037?
s=60&d=retro&r=g)

### 󠀁[Simple, yet effective.](https://wordpress.org/support/topic/simple-yet-effective-53/)󠁿

 [JJNW](https://profiles.wordpress.org/jjnw/) January 2, 2020

It works well. Very limited in options, but it does recognized custom posts, so 
that is why it immediately gets 5 starts (plus it works as described).

![](https://secure.gravatar.com/avatar/c79b7764d702e16166f014ce9b8ff18fbff511922ba8adb0a10a2e4d394937a4?
s=60&d=retro&r=g)

### 󠀁[Superb! (just *one* minor issue, when used as widget)](https://wordpress.org/support/topic/superb-just-one-minor-issue-when-used-as-widget/)󠁿

 [mounsey](https://profiles.wordpress.org/mounsey/) August 23, 2019

This plugin is absolutely brilliant – and I’ve used it successfully to output “Recently
Viewed Products” – on an eCommerce site. I have only encountered one potential issue(
it could be a conflict with Storefront Theme, not sure..?) – and that is that when
used as a Widget (as is the case here) the surrounded DIV tag doesn’t appear to 
close properly (???) – resulting in any widgets that FOLLOW this one being adversely
affected (e.g. smaller text – following on from that set for the Recently Viewed
widget). Unsure if a widespread issue but it has meant I’ve had to have it as the
final widget, whereas ideally I wanted it up top! Aside from that minor issue this
is a superb plugin and one that does exactly what it says it will.. with minimal
setup needed! Thanks and kudos to the authors.

![](https://secure.gravatar.com/avatar/5d2b2b53f354d570fd1f6b2a16c2212a74b429d7fd6b57af252f0df00b558594?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-22779/)󠁿

 [jelena1401](https://profiles.wordpress.org/jelena1401/) August 19, 2019

Great plugin, lightweight, works perfectly and it’s easy to apply some custom CSS
to the output. Support from the developer is outstanding! Just make sure you don’t
have a server-side caching system (like Varnish, for example), because it may interfere
with the cookies that are needed in order to display the post list to each user 
individually based on their visits. Other than that, works perfectly. Thanks for
making this great plugin!

![](https://secure.gravatar.com/avatar/52345cce7e00d5e23702d9abf7e7403eec4e798b9af40b5541c0988eed36b811?
s=60&d=retro&r=g)

### 󠀁[Definitely deserves a 5 star](https://wordpress.org/support/topic/definitely-deserves-a-5-star/)󠁿

 [WPpress](https://profiles.wordpress.org/pikachuchu/) December 7, 2017

Thank you for this amazing plugin. Saved me a lot of time in coding and researching.

![](https://secure.gravatar.com/avatar/ef200ee7233d2b56bd663540b5a4770b9934b754fd1981a53f98400d62fcebef?
s=60&d=retro&r=g)

### 󠀁[Awesome, very helpful.](https://wordpress.org/support/topic/awesome-very-helpful-3/)󠁿

 [smart.u](https://profiles.wordpress.org/smartu-1/) September 3, 2016

Thanks for sharing this awesome and helpful plugin. The shortcode option makes it
very versatile. It is kept simple per design and does it’s trick as described in
a perfect way. Please do not change anything. 🙂

 [ Read all 10 reviews ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/)

## Contributors & Developers

“Posts Viewed Recently” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Amit Sonkhiya ](https://profiles.wordpress.org/amitaits/)
 *   [ K.K.Agarwal ](https://profiles.wordpress.org/kka284556/)

[Translate “Posts Viewed Recently” into your language.](https://translate.wordpress.org/projects/wp-plugins/posts-viewed-recently)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/posts-viewed-recently/),
check out the [SVN repository](https://plugins.svn.wordpress.org/posts-viewed-recently/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/posts-viewed-recently/)
by [RSS](https://plugins.trac.wordpress.org/log/posts-viewed-recently/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.2

 * Bugfix: Missing closing tags when the number of posts viewed was more than the
   number of posts to show. Issue fixed

#### 1.3.1

 * Direct file access blocked
 * Code optimization by avoiding arguments parsing till the cookie existence check

#### 1.3

 * Security bug fixes and code enhancement

#### 1.2

 * Plugin updated to show post date in the format as set in WordPress setting

#### 1.1

 * Bugfix: The widget in the sidebar and the current post, both were displaying 
   the same publish date. Issue fixed

#### 1.0

 * Let you specify a title, post types to select, set number of posts, enable/disable
   featured image, its size and alternative image URL, display or not post date

## Meta

 *  Version **1.3.2**
 *  Last updated **5 years ago**
 *  Active installations **800+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **5.6.17**
 *  Language
 * [English (US)](https://wordpress.org/plugins/posts-viewed-recently/)
 * Tags
 * [last](https://twd.wordpress.org/plugins/tags/last/)[recent](https://twd.wordpress.org/plugins/tags/recent/)
   [recently](https://twd.wordpress.org/plugins/tags/recently/)[Viewed](https://twd.wordpress.org/plugins/tags/viewed/)
   [visited](https://twd.wordpress.org/plugins/tags/visited/)
 *  [Advanced View](https://twd.wordpress.org/plugins/posts-viewed-recently/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/)

## Contributors

 *   [ Amit Sonkhiya ](https://profiles.wordpress.org/amitaits/)
 *   [ K.K.Agarwal ](https://profiles.wordpress.org/kka284556/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/posts-viewed-recently/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/astx)