Passer la navigation

[Résolu] Default filter results in a view

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

I want to have the default search show the results from a specific category named "recent".

Solution:

There isn't such kind of built-in feature, in your case, you just need to pass URL parameter wpv-category=recent to that page, for example:

https://SITE-URL/transactions/?wpv-category=recent

Relevant Documentation:

This support ticket is created Il y a 4 years. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par johnC-6 Il y a 4 years.

Assisté par: Luo Yang.

Auteur
Publications
#2361771

I have created a view that shows a dropdown where I show a filterable search result. I want to have the default search show the results from a specific category named "recent". You can see the page in question here: lien caché

When someone lands on the page I want the view to show "recent" transactions first. Is this possible?

Thanks in advance,
John

#2362113

Hello,

There isn't such kind of built-in feature, in your case, you just need to pass URL parameter wpv-category=recent to that page, for example:
lien caché
Then user will be able to see the "recent" transactions first

#2362567

My issue is resolved now. Thank you!