內容簡介
WordPress 預設的查詢排序方式是降序。這會按照時間反向排序,大多數博客都需要這樣的結果。
但有時候,我們需要升序排列文章。啟用此外掛後,將預設排序從降序改為升序。這影響所有的查詢(主頁、存檔、日期等)。停用外掛即可回復預設的降序排序。
如果使用的佈景主題效果不佳,可能會出現一些問題。根據佈景主題中帖子的導航標籤,有些情況可能會使結果感覺不合理。例如,如果導航標籤顯示為「早期」和「晚期」,結果會顯得相反。有些佈景主題不會受到影響,例如「Twenty Fifteen」佈景主題,「上一篇」在「下一篇」之上,暗示列表順序而非時間順序。
外掛標籤
開發者團隊
原文外掛簡介
By default, the sort order for queries in WordPress is descending. This will produce posts in reverse chronological order, the desired result for most blogs.
In some cases, it may be desirable to have posts in ascending order. When activated, this plugin changes the default order from descending to ascending. This affects all queries (home page, archives, dates, etc). Deactivating the plugin returns the default order to descending.
IF YOU DON’T LIKE THE RESULT, IT’S THE THEME
How well this works out varies from theme to theme. Depending on a theme’s navigation labels for posts, things may or may not make sense. If labels are “Earlier” and “Later”, things will seem backwards. Some themes make sense either way. For example, in the “Twenty Fifteen” theme, “Previous” is above “Next”, suggesting list order rather than time.
