[WordPress] 外掛分享: Advanced Random Posts

首頁外掛目錄 › Advanced Random Posts
300+
安裝啟用
尚無評分
3032 天前
最後更新
問題解決
WordPress 2.8+ v2.3 上架:2008-10-31

內容簡介

進階隨機文章小工具會隨機選擇文章並選擇是否顯示縮圖。它可以從選定的類別、當前類別或全部文章中取得文章。當訪客在主頁時,它會從所有文章或選定的類別中看到文章。如果您設置「從當前類別取得文章」,訪客在看到單篇文章時,小工具會列出相同類別中的文章,或者當訪客點擊類別連結時,它會從當前類別中取得文章。

注意:版本2.2+需要至少2.8。

支援語言

英文
土耳其文
俄文 - 感謝Fatcow

選項

小工具的選項允許您更改隨機文章列表的顯示方式。

標題:

您的隨機文章小工具在側邊欄上的標題。

顯示文章數目:

顯示的文章數量

摘要長度(字母)

您知道那個

縮圖自訂欄位名稱

如果您想顯示文章的縮圖,請輸入欄位名稱。

高度 - 寬度

圖片大小

獲取文章中的第一張圖片

如果您不想使用自訂欄位,插件將會從您的文章內容中獲取第一張圖片。

獲取文章中的第一個附加圖片

插件將獲取文章中的第一個附加圖片。

默認圖片

如果文章沒有圖片,插件會顯示此圖片。例如:http://www.yakupgovler.com/default-image.png

注意:如果您使用了這三個選項,插件首先使用自訂欄位圖片。如果文章沒有自訂欄位,它會從內容中獲取第一張圖片。最後,它會獲取第一個附加圖片。出於性能考慮,我建議不要使用「獲取文章中的第一張圖片」。它會查詢更多。

類別

插件會在這些類別中取得文章。(分類ID,以逗號分隔。)

從當前類別取得文章:

文章將從當前類別(單一文章的類別或當前類別)取得。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Advanced Random Posts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Advanced Random Posts Widget displays your posts by selecting randomly with thumbnail images (optional). It gets posts from selected categories or current category or all posts. When your visitors are at home, it gets posts from all posts or selected category. If you set ‘Get posts from current category’, when visitors see single post, widget lists posts in the same category of single post or when visitors click a category link, it gets posts from current category.
Notice: Version 2.2+ requires at least 2.8.
Supported Languages

English
Turkish
Russian – Thanks Fatcow

Options
Widget’s options allow you to change your random posts list displaying.
Title:
Your random posts widget’s title on your sidebar.
Number of posts to show:
How many posts to display
Excerpt length (letters)
You know that
Thumbnail Custom Field Name
If you want to display the thumbnail of your posts via a custom field, write its name.
Height – Width
Images size.
Get first image of post
If you don’t want to use custom field, plugin will get first image from your post content.
Get first attached image of post
Plugin gets first attached image of post.
Default image
If post has no image, plugin display this image. Ex: http://www.yakupgovler.com/default-image.png
Notice: If you use three options, plugin uses custom field image firstly. If the post has no custom field, it gets first image from content. At last it gets first attached image. I suggest not to use “Get first image of post” for performance. It queries much more.
Categories
Plugin gets posts in these categories. (Category IDs, separated by commas.)
Get posts from current category:
Posts will be get from current category (single post’s category or current category).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon