DD Last Viewed
Shows the users recently viewed/visited posts, filtered on types or terms, in a widget.
Use with caution
DD Last Viewed works, but test it on a staging site before relying on it in 2026. It runs on 400+ sites, is rated 4.9/5 and was last updated 6 years ago, and scores 44/100 on our health check.
- Loved by users — 4.9/5 from 26 reviews
- Small user base (400+ active installs)
- No update in 5 years
- Only tested up to WordPress 5.5 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where DD Last Viewed stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| history | >100 |
| lastviewed | #1 |
| posts viewed recently | #87 |
| recently | >100 |
| visited | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.9 from 26 reviews
About DD Last Viewed
From the official readme · v6.2.1Description
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
Installation
- Upload the
dd-lastVieweddirectory to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- customise the widget
OPTIONAL ADVANCED (customise widget template):
- Copy dd_templates/widget.php
- Paste clipboard in theme folder
- 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!
Changelog
Use the new variables in the custom template
6.2.1
- Fix setCookie for diff php versions > or < 7.3 (options array)
6.2
- pre-fill post types with ‘post and pages’ if emtpy
- Fix logged errors
- Fix saving posttypes
6.1
- Fix cookie secure option
- Fix missing style.css.map
- Set ‘lax'(samesite) by default if https
- Fix bug visiting same page as the only one set in the cookie
6.0
- Created advanced cookie settings
- Extend cookie settings with sameSite options
- Extend cookie settings with Secure options
- Activate switch if link is activated
- Deactivate link if switch is deactivated
- Aligned styling “Avoid widget caching”
- Fix styling and js on “accessibility mode”
5.3
- Refined code
- Set phpcookie on ‘WP’ hook instead of ‘get_header’ hook
- Update deprecated e.which to e.key
5.2.1
- Fix devmode errors “Undefined index”
- Update CSS
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best DD Last Viewed alternatives
All history plugins →FAQ
DD Last Viewed: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Sep 29, 2026
Is DD Last Viewed free?
Yes. DD Last Viewed is free to download and use from the official WordPress.org plugin directory.
Is DD Last Viewed safe to use in 2026?
DD Last Viewed works, but test it on a staging site before relying on it in 2026. It runs on 400+ sites, is rated 4.9/5 and was last updated 6 years ago, and scores 44/100 on our health check.
How many websites use DD Last Viewed?
DD Last Viewed is active on 400+ WordPress websites and has been downloaded 25,294 times since it launched in June 2013. It was downloaded 114 times in the last 30 days.
Does DD Last Viewed work with WordPress 7.1?
DD Last Viewed is officially tested up to WordPress 5.5.22, while the latest release is 7.1.2. It may still work, but try it on a staging site first.
When was DD Last Viewed last updated?
The latest version, 6.2.1, was released on November 17, 2020 (6 years ago).
Who makes DD Last Viewed?
DD Last Viewed is developed and maintained by Mosterd3d.
What are the best alternatives to DD Last Viewed?
The most popular alternatives to DD Last Viewed are WP Activity Log (300K+ installs), Simple History (300K+ installs) and Timeline Widget For Element… (70K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card

