Title: Posts Viewed Recently
Author: Amit Sonkhiya
Published: <strong>2014 年 4 月 29 日</strong>
Last modified: 2020 年 12 月 10 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Posts Viewed Recently

 由 [Amit Sonkhiya](https://profiles.wordpress.org/amitaits/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/posts-viewed-recently/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/posts-viewed-recently/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/posts-viewed-recently/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/posts-viewed-recently/#developers)

 [技術支援](https://wordpress.org/support/plugin/posts-viewed-recently/)

## 外掛說明

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.

## 螢幕擷圖

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

## 安裝方式

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

## 常見問題集

### 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

## 使用者評論

![](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/) 2022 年 7 月 8 日

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/) 2020 年 1 月 2 日

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/) 2019 年 8 月 23 日

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/) 2019 年 8 月 19 日

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/) 2017 年 12 月 7 日

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/) 2016 年 9 月 3 日

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. 🙂

 [ 閱讀全部 10 則使用者評論 ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Posts Viewed Recently〉的開發相關工作。

參與者

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

[將〈Posts Viewed Recently〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/posts-viewed-recently)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/posts-viewed-recently/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/posts-viewed-recently/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/posts-viewed-recently/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/posts-viewed-recently/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **1.3.2**
 *  最後更新 **5 年前**
 *  啟用安裝數 **800+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.6.17**
 *  語言
 * [English (US)](https://wordpress.org/plugins/posts-viewed-recently/)
 * 標籤:
 * [last](https://tw.wordpress.org/plugins/tags/last/)[recent](https://tw.wordpress.org/plugins/tags/recent/)
   [recently](https://tw.wordpress.org/plugins/tags/recently/)[Viewed](https://tw.wordpress.org/plugins/tags/viewed/)
   [visited](https://tw.wordpress.org/plugins/tags/visited/)
 *  [進階檢視](https://tw.wordpress.org/plugins/posts-viewed-recently/advanced/)

## 評分

 4.8 星，滿分為 5 星

 *  [  8 個 5 星使用者評論     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=5)
 *  [  2 個 4 星使用者評論     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/posts-viewed-recently/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/posts-viewed-recently/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.me/astx)