Toggle Post Filter – Overview of Shortcode Parameters

This is a feature of the Premium plan. Tag Groups Premium

Note: These shortcodes are also available as Gutenberg blocks. You can configure the block without using any code or parameters. Read more about the block options.

If you don’t know what is a shortcode and how to use it, you first may want to read this article.


This feature consists of several shortcodes that you can place at different locations of the page, including widgets. The main parts create the menu and the body (for the posts).


There are also optional shortcodes:

  1. A field for messages that tell you how many posts were found. You can omit it and use only the notes that appear for some seconds in the top right corner.

This shortcode doesn’t have any parameters.

2. A reset button:1


3. A menu to select the sort order. It is possible to customize the menu items and sort even by custom fields:


4. A button to open the slider menu (see the layout parameter of the menu part).


5. An additional text search field.


Note: Old shortcodes with the pattern tg_dpf_toggle_… still remain functional.


Here comes the filter part:

[tag_groups_tpf_menu caching_time=60 display_amount=2 pager=1 persistent_filter=60 theme="dark" transition=fade operator="IN AND" layout="wide_tags"]

How many posts we found:


And the posts go to a place that is sufficiently large:

[tag_groups_tpf_body theme="dark" layout="masonry"]


  1. Any button with the class “tg_dpf_toggle_reset_button” will work as reset button.[]