Skip Navigation

[Fermé] Creating a Simple Archive Filter

This support ticket is created Il y a 3 années et 6 mois. 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 réponse, has 2 voix.

Last updated by Nigel Il y a 3 années et 6 mois.

Auteur
Publications
#1816603

Please watch video ... hidden link

#1817143

Nigel
Supporter

Languages: Anglais (English ) Espagnol (Español )

Timezone: Europe/London (GMT+01: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.

Le sujet ‘[Fermé] Creating a Simple Archive Filter’ est fermé à de nouvelles réponses.