內容簡介
這個外掛允許你創建一個小工具,顯示指定日期範圍內的隨機文章的標題、日期、摘要,或可用於創建指定日期範圍內隨機文章的自定義循環。以下內容可進行指定:
要顯示的文章數量
是否顯示日期
是否顯示文章摘要
摘要長度(單位:詞數)
文章開始和結束的日期,以進行隨機選擇
是否始終使用當前日期作為結束日期(這樣你就可以包括每天的新文章,而無需進行編輯設置)
使用相對時間選項(選擇從最近一周、一年等選擇隨機文章)
要從中選擇文章的分類。 (例如:在過去一周中,從體育類別的隨機文章中選擇。這是我需要這樣一個外置程式的原因。對我經營的報紙網站很方便。)
如果您遇到任何問題,請通過電子郵件([email protected])或Twitter(http://twitter.com/lupka)與我聯繫。
有關最新的常見問題/信息,請訪問:http://alexchalupka.com/projects/wordpress/random-posts-widget/
外掛標籤
開發者團隊
② 後台搜尋「Random Posts Within Date Range Widget」→ 直接安裝(推薦)
原文外掛簡介
This plugin allows you to create a widget that will display the title/date/excerpt from random posts in a specified(or open-ended) date range. It can also be used outside of a widget to create custom loops of random posts within a date range. The following can be specified:
Number of posts to display
Whether or not to show dates
Whether or not to show excerpts
Excerpt length (number of words)
Start date and End date of posts to randomize
Whether or not to always use current date as end. (Allows you to include new posts without editing settings every day)
Option to use relative time instead (To chose from random posts from last week, year, etc.)
Category to choose posts from. (Example: Random posts from sports category in the past week. This is the original reason I needed a plugin like this. Comes in handy for the newspaper site I run.)
Please contact me if you run into any issues, either via email ([email protected]) or Twitter (http://twitter.com/lupka)
For latest FAQs/info visit: http://alexchalupka.com/projects/wordpress/random-posts-widget/
