Passer la navigation

[Résolu] Sorting a view based on custom category

This support ticket is created Il y a 1 year, 4 months. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Ce sujet contient 3 réponses, a 1 voix.

Dernière mise à jour par Minesh Il y a 1 year, 4 months.

Assisté par: Minesh.

Auteur
Publications
#2796311

Hi,

On this page: lien caché
Pass: Tgbbv

Now the locations are in alphabetic order.
I want to order them based on the numbers off the category, 1 - 13, second sorting alphabetic.
Is this possible and how?

#2796312

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You can set the primary sort order either using custom fields or normal native post fields like (post date, post title etc..etc..) and for the secondary sort order the only possible options are using normal native post fields like (post date, post title etc..etc..).

I'm afraid - there is no way to sort result using the number of taxonomy(maybe you are using custom term field to set the order of the term).

#2796313

I used a plugin to change the order category.
Can I use that menu order?

#2796314

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

"menu_order" is for the posts menu order not the taxonomy term menu order.