This is a demo of the Toggle Post Filter with sample posts. We also have other demos where you find more layouts. Check out the overview page.
If you click on one of the recipes and then return to this page, the filter will remember your settings and position in the list.
• menu and body (posts) layout: classic (vertical, side by side)
• theme: light or dark
• operator: “IN AND” (at least one tag matches from each group)
• text search: enabled, triggered on Enter or after changes
• post template: default
• The “persistent filter” remembers for 60 minutes, which filters you selected and which post you clicked.
• We also used the “static taxonomy” parameter with a category to show only recipes.
• Tags (toggles) were sorted by their descriptions where we used numbers to set a custom order.
• We show a pagination at the top and the bottom.
The menu part and the post (body) part are placed in columns so that they appear side-by-side.
• Search for a key word. Or search for a key word starting with a dash to exclude that word.
• Use tags from the same group to get more results. Add tags from another group to narrow down the result.
• Click through to a post and return to the list to continue where you left off.
• Use the left/right cursor keys to flip through pages.
We used the following shortcodes. If you like to try them on your site, you may have to replace the group IDs (“include”) with your own values.
[tag_groups_dpf_toggle_messages]
[tag_groups_tpf_menu include=3,7,1 operator="IN AND" persistent_filter=60 caching_time=600 term_order=asc term_orderby=term_order text_search=2 placeholder_text_search="try cheese or -cheese" layout="classic" div_id_=tg_own_page theme=light]
[tag_groups_tpf_body layout=blocks div_class="premium-demo-body" pager=2 pager_position=both posts_placeholder="What would you like to cook today?" posts_per_page=4 message_amount_singular="1 meal found" message_amount_plural="{count} meals found" display_amount=2 theme=light]
Text Search
Preparation
Preparation Time
Origin
Need to see it on your site? Start a 7-day free trial!
Try the premium version with all features. No risk. Cancel anytime.