Passer la navigation

[Résolu] Set order view by parameter value number

This support ticket is created Il y a 3 years, 6 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
- 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/Karachi (GMT+05:00)

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

Dernière mise à jour par giuseppeB Il y a 3 years, 6 months.

Assisté par: Waqar.

Auteur
Publications
#2503947

Hello,
I eredidate a website that use toolset.
In the website there are some books, divided by chapters

I don't understand how show the chapter in order of number

For example, that's a book: lien caché

I need that the list will be:
1) Prefazione lien caché
2) Introduzione lien caché
3) Parte prima Dai prezzi privati alle imposte: Capitolo I – Dei prezzi quasi privati lien caché
4)Capitolo II – Dei prezzi pubblici lien caché
5) and go on

If you open the chapter you will see that there is the parameter "wpcf-capitolo" that indicate the number of the chapter.
So I need that the view show the chapter in order from 0 to N of the value "wpcf-capitolo" and not in the actually order (that I don't understand what is, maybe for post value?)

How can I do that?

I think I need to change the page by editing the Content Template > 4780 Template Libro — Block Editor

Here the credential of the website (for this user the Google Authenticator is disabled)
{removed}

Thank you

#2505257

Hi,

Thank you for contacting us and I'd be happy to assist.

In the view "Template libro" used in the template, the order settings were set to use the "Data di Pubblicazione" field.

I've changed that to use the "N° Capitolo" field and the results are now ordered by the chapters.
( screenshot: lien caché )

I hope this helps and please let me know if you need any further assistance with this.

regards,
Waqar

#2508099

thank you, amazing!