[WordPress] 外掛分享: WP List Posts Shortcode

首頁外掛目錄 › WP List Posts Shortcode
50+
安裝啟用
★★★★★
5/5 分(1 則評價)
5124 天前
最後更新
問題解決
WordPress 2.8+ v0.1 上架:2010-03-21

內容簡介

這個外掛提供了一個短碼 [wp_list_posts],例如 [wp_list_posts category=3 numberposts=7] 會回傳分類 ID 為 3 中,最新的 7 篇文章的無序列表。

用法

這個短碼可以在文章、頁面甚至小工具區域中渲染。詳細輸入參數請參考模板標記 https://codex.wordpress.org/Template_Tags/get_posts。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP List Posts Shortcode」→ 直接安裝(推薦)

原文外掛簡介

Adds a shortcode [wp_list_posts]. For example [wp_list_posts category=3 numberposts=7] will return an unordered list of the most recent 7 posts in the category ID 3.
Usage
This shortcode can be rendered inside a post, page or even in a widget area. Refer to the template tag https://codex.wordpress.org/Template_Tags/get_posts for input parameter.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon