[WordPress] 外掛分享: LH Display Posts Shortcode

首頁外掛目錄 › LH Display Posts Shortcode
WordPress 外掛 LH Display Posts Shortcode 的封面圖片
全新外掛
安裝啟用
尚無評分
1319 天前
最後更新
問題解決
WordPress 4.0+ PHP 5.6+ v1.01 上架:2019-06-05

內容簡介

LH Display Posts 外掛可讓您輕鬆地列出來自網站各個部分的內容。同時尊重目前使用者權限以查看所顯示的文章。

只需在內容中添加[lh_display_posts]縮碼。縮碼有5個可選參數:

post_parent:僅顯示具父ID的文章/頁面
post__in:要查詢的文章ID的逗號分隔列表
post_type:文章類型,此默認為 'post'
post_author:文章作者的ID
template:有關如何更改用於輸出縮碼的模板的詳細信息,請參閱以下內容

喜歡這個外掛嗎? 請考慮留下五星評價。

喜歡這個外掛還是想幫助地方英雄計劃嗎? 請考慮捐贈。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.01) 或搜尋安裝

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

原文外掛簡介

LH Display Posts allows you easily list content from all across your website. Whilst respecting the current users capability to view the posts displayed.
Just add the [lh_display_posts] shortcode to you content. The shortcode has 5 optional parameters

post_parent: show only post/pages with the parent id specified
post__in: a comma separated list of post ids to query
post_type: the post type, this defaults to ‘post’
post_author: the id of the post author
template: see details below on how to alter the template used to output the shortcode

Like this plugin? Please consider leaving a 5-star review.
Love this plugin or want to help the LocalHero Project? Please consider making a donation.

延伸相關外掛

文章
Filter
Mastodon