Passer la navigation

[Résolu] Sorting posts in block output

This support ticket is created Il y a 4 years, 8 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 2 réponses, a 2 voix.

Dernière mise à jour par saulB-3 Il y a 4 years, 8 months.

Assisté par: Minesh.

Auteur
Publications
#2182263
screenshot 2021-09-28 at 16.05.11.png

Hi there,

I'm outputting the titles of a list of custom posts using the Block Editor. I'm displaying the View and can get the post titles to display just fine (see attached). The titles appear to be displayed in the reverse chronological order of the publication date. Can I sort them alphabetically instead? If so, how?

Thank you!

Saul

#2182751

Minesh
Supporter

Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

When you select the view block, on the right sidebar you will see the "Ordering" tab and within that tab you can set the view to order by post title and ASC.

Please check the following screenshot:
=> lien caché

#2182853

My issue is resolved now. Thank you!