[WordPress] 外掛分享: Recent Posts Shortcode & Widget

WordPress 外掛 Recent Posts Shortcode & Widget 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Recent Posts Shortcode & Widget」是 2017-03-08 上架。
  • 目前有 400 個安裝啟用數。
  • 上一次更新是 2018-03-14,距離現在已有 2607 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

rajros |

外掛標籤

posts | latest posts | recent posts | latest posts shortcode | recent posts shortcode |

內容簡介

「最新文章簡碼和小工具」可協助使用者透過簡單的短碼(shortcode)在頁面或側邊欄(sidebar)輕易地顯示最新的文章。
預設顯示的是「最新文章」或「近期文章」,如果要變更顯示「隨機文章」或依「標題」排序等功能,可使用「orderby」設定。
選項和功能包括

所有參數和簡碼可在常見問題中查看:
* 常見問題

特色圖片
如果沒有特色圖片,自動從文章內容中的第一張圖片生成並加入特色圖片
自訂摘要長度
限制文章數量
從特定分類取得文章
從多個分類(以逗號分隔)取得文章
從特定作者取得文章
選擇文章類型
按日期、名稱等排序/顯示
顯示文章發布日期
使用文章 ID(以逗號分隔)顯示特定文章
依標籤顯示/篩選文章
依元數鍵和元數值顯示/篩選文章
自訂「閱讀更多」標籤選項
顯示預設/自訂圖片尺寸(例如縮圖、中等大小等),而非特色圖片

使用方式

基礎:[recentposts-sc](預設為最新的 3 篇文章)
在文字小工具(text widget)中也可使用 [recentposts-sc](詳細需求請參考截圖)

進階參數:

numberofposts(文章數量)
限制/指定要顯示的文章篇數
預設:3
例子:[recentposts-sc numberofposts=”6″]

post_type(文章類型)
指定要使用的文章類型,例如文章或頁面
預設類型:文章(post)
例子:[recentposts-sc post_type=”page”]

get_cat_name(分類名稱)
如果要在文章列表中顯示分類名稱
預設:False
例子:[recentposts-sc get_cat_name=”true”]

excerptlength(自訂摘要長度)
定義自訂摘要長度
例子:[recentposts-sc excerptlength=”30″]

enable_excerpt(顯示/隱藏摘要)
有時可能不想顯示摘要,只想保留標題和圖片。要關閉/停用摘要,請使用 enable_excerpt=”false”(預設為 true)
例子:[recentposts-sc enable_excerpt=”false”]

image_size(顯示預設/自訂圖片尺寸,而非特色圖片)
選擇要顯示的圖片尺寸,例如縮圖、中等大小等(預設顯示特色圖片)
使用 image_size(預設為 false)
例子:[recentposts-sc image_size=”thumbnail”] 或 [recentposts-sc image_size=”medium”]
如有自訂圖片尺寸,也可使用。

category(從特定分類中取得文章)
篩選來自單一或多個分類的文章
單一分類篩選範例:[recentposts-sc category=”lesson”]
多重分類篩選範例:[recentposts-sc category=”lesson,lesson2,lesson3″]

author(從特定作者中取得文章)
篩選來自特定作者的文章
篩選範例:[recentposts-sc author=”admin”]

其他參數和簡碼可在常見問題中查看:
*

原文外掛簡介

The “Recent Posts Shortcode & Widget” helps users to easily display latest posts in a page or in sidebar by just using simple shortcode [recentposts-sc]
By default it displays “latest posts” or “recent posts” which can be changed to display “random posts”, display by ‘title’ etc using ‘orderby’.
Options and Features Includes
All Parameters/Shortcodes can be seen in FAQ:
* FAQ

Featured Image
Auto generates and adds featured image using first image of the post if no featured image is found
Custom excerpt length
Limit number of posts
Posts from specific category
Posts from multiple categories (comma separated)
Posts from specific author
Post type option
Order/Display by date, name etc.
Display post date.
Display specific posts using post IDS (comma separated)
Display/filter posts by tag
Display/filter posts by meta key and meta values
Custom “Read more” label option.
Display default/custom image size instead of featured image (like thumbnail, medium etc)

How to Use

Basic: [recentposts-sc] (by default 3 latest posts)
For sidebar also use [recentposts-sc] in text widgets (refer screenshots as well for further help)

Advanced Parameters:

numberofposts (Number of posts)
Limit/Specify the number of posts you want to display
Default: 3
Example: [recentposts-sc numberofposts=”6″]

post_type (Post Type)
Specify which post type you want to use. For example posts or pages
Default type: post
Example: [recentposts-sc post_type=”page”]

get_cat_name (Category Name)
If you want to display category name in list of posts
Default: False
Example: [recentposts-sc get_cat_name=”true”]

excerptlength (Custom Excerpt Length)
Define custom excerpt length
Example: [recentposts-sc excerptlength=”30″]

enable_excerpt (Show/hide Excerpt display)
Sometimes you may not want to display excerpt and only like to keep title and image. To turn off/disable excerpts use enable_excerpt=”false” (default is true)
Example: [recentposts-sc enable_excerpt=”false”]

image_size (Display default/custom image size instead of featured image)
Select image size like thumbnail, medium etc (by default featured image is displayed)
use image_size (default is false)
Example: [recentposts-sc image_size=”thumbnail”] or [recentposts-sc image_size=”medium”]
You can also use any custom image size if present in your website.

category (Posts from specific Category/categories)
Filter posts from single category or multiple categories
Example single category: [recentposts-sc category=”lesson”]
Example multiple categories: [recentposts-sc category=”lesson,lesson2,lesson3″]

author (Posts from specific author)
Filter posts from specific author
Example: [recentposts-sc author=”admin”]

More Parameters/Shortcodes can be seen in FAQ:
* FAQ.
Support

Forum support
Rate/Review the plugin

Developed by rajros

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Recent Posts Shortcode & Widget」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 |

延伸相關外掛(你可能也想知道)

  • Latest Posts 》Latest Posts 是一個功能強大的 WordPress 外掛,可顯示你最近或最新的文章,並以縮圖、日期等方式進行分類。這對於簡單的博客和在線雜誌非常適用。小工具具...。
  • Relevant – Related, Featured, Latest, and Popular Posts by BestWebSoft 》Relevant 外掛可以在你的 WordPress 網站上顯示相關、最新、熱門和精選文章。你可以自訂小工具、變更外觀、熱門文章數量,以及更多。, 突顯並顯示適當的資訊...。
  • Orange Themes Custom Widgets 》“Orange Themes Custom Widgets” 是由 Orange-Themes.com 開發的一組小部件集,用於單頁式 WordPress 主題。, “Orange Themes” 的小...。
  • news ticker benaceur 》這個外掛可以讓你以廿五種美麗的動畫樣式,在橫幅上顯示最新的文章或評論,, 你可以在管理面板中控制和調整橫幅的樣式,, 你還可以選擇讓橫幅顯示給特定的群...。
  • New Posts Block 》新增一個區塊,顯示最新文章列表。。
  • Enhanced Recent Posts 》這個 WordPress 外掛增強了內建 "最新文章" 小工具的功能,提供了更多選項:, , 排除或包含類別, 選擇顯示的文章數量, 顯示日期, 等等..., , 如果您喜歡我們...。
  • Latest Custom Post Type Updates 》 簡潔至上!, 這款簡單的外掛程式添加了一個小工具,可在任何自訂文章類型中顯示最新文章。它的功能與內建的 WordPress「最新文章」小工具幾乎相同,但增加了...。
  • Simple Category Posts 》Simple SEO Categories Posts 是一個外掛/小工具,可以在您的網站上顯示指定類別的文章。, 小工具選項, , 標題, 類別 ID, 文章數量, 顯示標題, 標題標籤, 顯...。
  • Newstastic Post Slider 》已更新以修復新版本 PHP 的問題。這個小小的小工具可以以水平或垂直格式顯示所有或選定類別的文章,您可以選擇顯示一些選項並設定寬度、高度等等。這是第一個...。
  • NewsBoard Post and RSS Scroller 》查看實際示範 | 在Twitter上關注我們 | 在Facebook上尋找我們, NewsBoard是一個高度可定制的jQuery新聞導讀外掛,可以顯示您網站上的文章或從其他網站的 RSS ...。
  • Blog Summary 》Blog Summary 是一個WordPress外掛程式,可以使用簡碼 [blog-summary] 在任何文章或頁面上產生一個內含摘要、日期和評論連結的語義化hAtom最新文章列表。可用...。
  • Mooberry Show Latest Posts 》當您的網站設置為使用靜態首頁時,您可能希望在首頁底部顯示您最新的文章列表。, 這個外掛會在靜態首頁底部顯示您最新文章的標題、摘要和鏈接。您可以自定義...。
  • Latest News Ticker for WordPress 》最新消息跑馬燈是一個能讓你在網站底部顯示最新文章的跑馬燈。可以想像一下你的博客有一則突發新聞..., 這是最新消息跑馬燈的免費版本,如果需要更多功能,請...。
  • Post Slider 》這是一個反應靈敏的最新文章水平滑動外掛。, 在此觀看演示, , 功能, , 分類選擇, , 設定每行文章數量, , , 設定顯示文章數量, , , 需要支援?, 如果您遇到任...。
  • SV Posts 》您想按照自己的願望顯示文章和頁面嗎?, 那麼我們的 Gutenberg 區塊 SV Posts 就是您需要的!, 我們的 SV Posts 區塊為 Gutenberg 編輯器提供了完全的控制和...。

文章
Filter
Apply Filters
Mastodon