
內容簡介
這個外掛包含 lastViewed widget。這個 widget 可以在 widget 中顯示使用者最近查看/訪問的文章、頁面、自訂類別甚至標籤,與 Woo-commerce 結合使用非常好用!
使用快取外掛?沒問題!只要點擊兩下,即可忽略快取,仍然獲得此 widget 的最佳效能。
這個 widget 是完全可自訂的:
篩選類型和標籤
設定最大值
啟用或停用縮圖
顯示內容(豐富或簡潔)或摘要
設定摘要長度
新增元素連結
設定 cookie 存續期限
設定 cookie 同一網域限制
設定 cookie 安全性
由 PHP 或 JS 設定 cookie
以 PHP 或 AJAX 載入 widget
複製插件目錄中的 "dd-templates / lastviewed-widget.php" 檔案到您的佈景主題目錄中,即可自訂 widget 樣板。你現在可以開始自訂 widget 的樣板。
如果有任何篩選的類型或標籤文章在前端被訪問,則會設置/更新包含訪問 ID 的 cookie 陣列。每個 widget 都有自己的 cookie,所以你可以設置任意數量的 widget。
隨意部分 1
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
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
