內容簡介
這個外掛可以顯示高度可定制的隨機文章列表。已經有一些類似用途的外掛存在,但有一個缺點:如果它們與緩存外掛(如WP-Super Cache)一起使用,該列表也會被緩存,並在數千次訪問中保持相同,因此並不那麼“隨機”。正如名字所說的那樣,“AJAX Random Posts”使用AJAX檢索文章,並克服了這個問題:現在每個頁面刷新都會帶來不同的列表!
功能
與緩存外掛兼容,因為核心是使用JavaScript編寫和運行,通常不會被緩存;
列表高度可定制:可以包括文章的數量、HTML格式、標記(如文章的URL、標題、分類、日期等)。
歷史記錄
0.3.3
現在已經排入佇列的腳本和樣式表保證了最大的兼容性;
* 0.3.2.0
1. 添加一個選項,以包含/排除置頂文章;
* 0.3.1.0
1. 代碼優化;
2. 添加了捐贈按鈕;
* 0.3.0.2 提高兼容性;
* 0.3.0.1 一些小的錯誤修正;
* 0.3 舊版本遇到了IE的一個bug,導致一些文字消失。在0.3中修正;
* 0.2 一個小修復;
* 0.1 初始版本。
外掛標籤
開發者團隊
原文外掛簡介
This plugins display a highly customizable list of random posts. There are some plugins that serve a similar purpose already, with one drawback: If they’re used along with cache plugins (like WP-Super Cache), the list is cached also, and remains the same over thousands of views, thus not so “random.” AJAX Random Posts, as its name says, uses AJAX to retrieve the posts and overcome the problem: now each page refresh comes with a different list!
Features
Compatible with caching plugins, since the core is written and run in JavaScript which is normally not cached.
The list is highly customizable: number of posts, html format, tags (like post url, title, categories, date etc.) can be included.
History
0.3.3
Scripts and styles now enqueued to ensure max compatibility.
* 0.3.2.0
1. Add an option to include/exclude the sticky posts into the list.
* 0.3.1.0
1. Code Optimization
1. Add a Donate button
* 0.3.0.2 Raise compalibility
* 0.3.0.1 Some minor bug fixes
* 0.3 The old versions encountered an IE bug that makes some texts disappear. Fixed in 0.3.
* 0.2 A small fix
* 0.1 Initial version
