內容簡介
簡潔至上!
這款簡單的外掛程式添加了一個小工具,可在任何自訂文章類型中顯示最新文章。它的功能與內建的 WordPress「最新文章」小工具幾乎相同,但增加了選擇要從哪個文章類型中提取文章的選項。只需將「最新自訂文章類型」小工具添加到小工具區域中,設定標題、要顯示的文章數量以及要從哪個文章類型中提取文章。就是這麼簡單!
進階選項
雖然此外掛程式功能簡單易用,但還有許多進階功能可供網站擁有人、設計師和開發人員使用。
更改文章提取方式(例如:發布日期、修改日期、meta key)
更改文章的顯示方式(例如:按修改日期提取,但按字母順序顯示)
為無文章顯示時定義自訂文本(默認不顯示任何內容)
定義自訂 CSS 類別
顯示文章縮略圖,可選擇預設縮略圖圖像和自訂大小
顯示文章日期/時間或文章修改日期/時間並指定格式
顯示文章摘要,指定長度和「閱讀更多」連結文字
按分類和分類詞限制文章
支援和其他功能
如果發現任何錯誤,請告訴我!為了幫助其他尋找相似解決方案的人,以及幫助建立 WordPress.org 社群,請通過 WordPress.org 論壇提出所有錯誤報告、支援請求和功能請求。
外掛標籤
開發者團隊
② 後台搜尋「Latest Custom Post Type Updates」→ 直接安裝(推薦)
原文外掛簡介
Simplicity at its finest!
This simple plugin adds a widget that allows for the display of recent posts in any custom post type. It functions almost identically to the built-in WordPress “Recent Posts” widget with the added option of letting you choose which post type it pulls from. Just add the “Latest Custom Post Type” widget to a widget area, give it a title, how many posts to show and what post type you want it to pull from. It’s that easy!
Advanced Options
While this plugin allows for quick and easy use, there are also LOADS of advanced features that site owners, designers, and developers will all enjoy.
Change how the posts are pulled (e.g. Publish date, modified date, meta keys)
Change how they are displayed (e.g. Pull by modified date, but show in alphabetical order)
Define custom text for when there are no posts to show (defaults to showing nothing)
Define custom CSS classes
Show post thumbnails with the option of a default thumbnail image and custom size
Show the post date/time or post modified date/time and specify the format
Show post excerpts, specifying the length and read more link text
Restrict posts by taxonomy and taxonomy terms
A word on support and additional features
If you find any bugs, please let me know! In an effort to help others looking for similar answers and to help build the WordPress.org community I ask that all bug reports, requests for support and feature requests be made through the WordPress.org forums.
