
內容簡介
LH Display Posts 外掛可讓您輕鬆地列出來自網站各個部分的內容。同時尊重目前使用者權限以查看所顯示的文章。
只需在內容中添加[lh_display_posts]縮碼。縮碼有5個可選參數:
post_parent:僅顯示具父ID的文章/頁面
post__in:要查詢的文章ID的逗號分隔列表
post_type:文章類型,此默認為 'post'
post_author:文章作者的ID
template:有關如何更改用於輸出縮碼的模板的詳細信息,請參閱以下內容
喜歡這個外掛嗎? 請考慮留下五星評價。
喜歡這個外掛還是想幫助地方英雄計劃嗎? 請考慮捐贈。
外掛標籤
開發者團隊
原文外掛簡介
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.
