Directory / plugin
LH Display Posts Shortcode
v1.01 · by shawfactor
Add a listing of content on your website using a simple shortcode. Filter the results by author, post type and more.
About this plugin
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.