
LH Display Posts Shortcode
v1.01shawfactor · 2019年6月6日 上架
Add a listing of content on your website using a simple shortcode. Filter the results by author, post type and more.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,573
- 最近更新
- 2022年8月7日
需要 WordPress 4.0+已测试到 6.0.19PHP 5.6+
贡献者
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.