Skip Navigation

[Closed] Creating a Simple Archive Filter

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 4 years, 1 month ago.

Author
Posts
#1816603

Please watch video ... hidden link

#1817143

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

To generate those dropdowns which are links to the alternate category or tag archives you must generate the markup for them yourself, the select inputs and options, but naturally you'll want to do this dynamically.

You'll need to create a taxonomy View for each, one for categories, one for tags, and in the output section add a select input tag outside of the wpv-loop tags with the option tags inside the loop, using shortcodes for the term URL (for the href attribute of the link) and for the term name for the link text.

Note that Blocks doesn't support taxonomy Views yet, you'll need to use the legacy Views UI to create taxonomy Views. If you are using Blocks to create the custom archive, to be able to insert the taxonomy Views you'll need to use the Classic block (which has the Fields and Views button available behind the Toolset icon) or enter the wpv-view shortcode into a Shortcode block directly.

The topic ‘[Closed] Creating a Simple Archive Filter’ is closed to new replies.