Search
  • Demo Site
  • Test Our Software Live
Search Menu

Example of the Post List

Description

This example demonstrates the post listing where posts are selected by tag groups. The list can be inserted with a Gutenberg block or a shortcode.

This feature is similar to the Dynamic Post Filter with the option groups_only=1. The Post List, however, reloads the entire page when you move to the next page. You select the groups and visitors will not have the possibility to change them.

Options

See all parameters.

Code

[tag_groups_post_list include=1,2,3,6,7 pager=1 display_amount=1]

Output

12 posts found.

Load more 

Display Posts in Random Order

The following code displays the posts of selected groups in random order. Please note that

  • posts are not reshuffled every time you reload the page since we use a page cache
  • we don’t use a pager since each further segment of the list is reshuffled and might therefore repeat a post that has already been shown before.

Code

[tag_groups_post_list include=1,2,3,6,7 pager=0 orderby=rand]

Output

Please find more information about Tag Groups Premium on the plugin main page.
Share
Updated: 2020-01-16T07:22:29+00:00