
LH Display Posts Shortcode
by shawfactor on WordPress.org
Add a listing of content on your website using a simple shortcode. Filter the results by author, post type and more.
(0)
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.
Active installations0+
Weekly downloads
8+0.00%
Version1.01
Last updated8/7/2022
WordPress version4.0
Tested up to6.0.9
PHP version5.6
Tags
pagepagespostsqueryshortcode