內容簡介
隨機文章外掛(Random Posts)會顯示一個隨機選擇的文章列表,你可以在許多方面自定義輸出。
此外掛需要最新版本的文章外掛庫: 現在下載。
版本歷史
2.6.2.0
新增 {imagealt} 輸出標記,類似於 {imagesrc}
{excerpt} 現在可以按整個句子來修剪
內容篩選器現在可以接受參數字符串
小工具現在可以接受參數字符串
輸出可以添加到文章和提要中
2.6.1.0
目前的文章可以手動標記
小工具現在會考慮如果列表為空則不顯示輸出
2.6.0.1
錯誤修復:安裝代碼會在某些系統上失敗
2.6.0.0
版本升級以表示與 WP 2.6 的兼容性
修復了包括附件的問題
{imagesrc} 的新參數,可以在圖像名稱後添加後綴,例如獲取附件的縮略圖
2.5.0.11
新增選項以包含附件
{php} 標記現在可以接受嵌套標記
新增輸出標記 {authorurl} - 指向作者文章存檔的永久鏈接
2.5.0.10
修復了WordPress舊版本的頁面選擇問題
進行更多努力以找到目前文章的ID以排除它
2.5.0.9
新增選項匹配目前文章的作者
片段和摘要輸出標記的擴展選項
2.5.0.7
新的選項可根據狀態顯示,即已發布/私人/草稿/未來
{categorynames} 和 {categorylinks} 應用「single_cat_name」篩選器
修復了 WordPress 2.2 之前的安裝問題
2.5.0
{image} 有了新的帖子、鏈接和默認參數
新的 {imagesrc} 標記
修復了空類別錯誤的問題
排除帖子錯誤
修復了「排除目前文章」選項間歇性錯誤的問題
2.5b26
還原縮略圖服務(速度)
在額外查詢後修正目前文章
2.5b25
選項以排序輸出,分組模板
刪除添加更合理的分隔符的「trim_before」選項
{date:raw},{commentdate:raw} 等等
修復了在 <img> 不是 <IMG> 時 {image} 調整大小的問題
{image} 現在提供實際縮略圖
2.5b24
修復了內容篩選器的遞歸替換問題
修復了 {gravatar} 的錯誤,以允許「identicon」等功能
修復了 {commenter} 剪切的問題
提供安全模式下的警告
2.5b23
按自訂字段篩選的新選項
嵌套大括號在 {if} 中;條件現在是標記可用
改進了錯誤報告功能
更好的省略用戶評論的方法
2.5b22
標記錯誤的修復
show_pages 選項現在可顯示只有頁面
2.5b19
內容替換篩選器的修復
2.5b18
修復輸出篩選器的錯誤
新增條件標記 {if:c
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Random Posts displays a list of randomly chosen posts. The output can be customised in many ways.
This plugin requires the latest version of the Post-Plugin Library: download it now.
Version History
2.6.2.0
new {imagealt} output tag — rather like {imagesrc}
{excerpt} can now trim to whole sentences
content filter can now take parameter string
widget can now take parameter string
output can be appended to posts & feeds
2.6.1.0
the current post can be marked manually
widgets now honour the option to show no output if list is empty
2.6.0.1
bug fix: installation code was failing on some systems
2.6.0.0
version bump to indicate compatibility with WP 2.6
fix to really include attachments
new parameter for {imagesrc} to append a suffix to the image name, e.g. to get the thumbnail for attachments
2.5.0.11
new option to include attachments
{php} tag now accepts nested tags
new output tag {authorurl} — permalink to archive of author’s posts
2.5.0.10
fix for page selection in old versions of WP
made omit current post try harder to find current post ID
2.5.0.9
new option to match the current post’s author
extended options for snippet and excerpt output tags
2.5.0.7
new option to show by status, i.e., published/private/draft/future
{categorynames} and {categorylinks} apply ‘single_cat_name’ filter
fixes bug in WP pre-2.2 causing installation to fail
2.5.0
{image} has new post, link, and default parameters
new {imagesrc} tag
fix to empty category bug
excluded posts bug fix
fix for intermittent bug with ‘omit current post’ option
2.5b26
reverted thumbnail serving (speed)
fix current post after extra query
2.5b25
option to sort output, group templates
removed ‘trim_before’ option added more logical ‘divider’
{date:raw}, {commentdate:raw}, etc.
fix for {image} resizing when and not
{image} now serves real thumbnails
2.5b24
fix for recursive replacement by content filter
fix to {gravatar} to allow for ‘identicon’ etc.
fix to {commenter} to allow trimming
fix a warning in safe mode
2.5b23
new option to filter on custom fields
nested braces in {if}; condition now taggable
improved bug report feature
better way to omit user comments
2.5b22
fixes for tag bugs
show_pages option can now show only pages
2.5b19
fix for content replacement filter
2.5b18
fix output filter bug
new conditional tag {if:condition:yes:no}
2.5b16
fix for {php}
2.5b15
fix bugs, add ‘included posts’ setting
2.5b14
fix file-encoding, installation error, etc.
2.5b11
some widget fixes
2.5b9
clarifying installation instructions
previous versions
