Sauter la navigation

[Résolu] Alphabetic filtre inside view

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

Problem:

Setup a post view, filter the results by post title's first letter.

Solution:

There isn't such kind built-in feature within Views plugin, as a workaround, you can try these:

1) Create a custom taxonomy "alphabetic",

2) Edit each post, setup term a,b,c ... z in above taxonomy "alphabetic"

3) So you will be able to add taxonomy "alphabetic" filters into the Views search form.

Relevant Documentation:

https://toolset.com/documentation/user-guides/front-page-filters/

This support ticket is created Il y a 5 années et 2 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.

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 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

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

Dernière mise à jour par olivierF Il y a 5 années et 2 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1367107
capture.jpg

Hello,
I want to create an alphabetic search filter (A-Z).
How can I do this in a view?
Thanks in advance.
Olivier

#1367327

Hello,

I assume you are going to filter the results by post title's first letter.

There isn't such kind built-in feature within Views plugin, as a workaround, you can try these:
1) Create a custom taxonomy "alphabetic",
2) Edit each post, setup term a,b,c ... z in above taxonomy "alphabetic"
3) So you will be able to add taxonomy "alphabetic" filters into the Views search form.
https://toolset.com/documentation/user-guides/front-page-filters/

#1369129

My issue is resolved now. Thank you!