Skip Navigation

[Cerrado] Creating a Simple Archive Filter

This support ticket is created hace 3 años, 4 meses. 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 respuesta, has 2 mensajes.

Last updated by Nigel hace 3 años, 4 meses.

Autor
Mensajes
#1816603

Please watch video ... hidden link

#1817143

Nigel
Supporter

Languages: Inglés (English ) Español (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.

El debate ‘[Cerrado] Creating a Simple Archive Filter’ está cerrado y no admite más respuestas.