Skip Navigation

[Résolu] Sorting two post types by custom date field not working

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 1 réponse, has 1 voix.

Last updated by seanN-5 Il y a 4 années et 7 mois.

Auteur
Publications
#1332027

I have two post types: Exhibitions and Performances. In a view I pull posts from both post types and have it set to sort based on a custom field called "start date".

I expected that all posts pulled in would sort based on the custom field "start date".

Instead it separates the posts first by post type, then sorts by "start date".

For example three posts with the following "start Dates" sort in this order for Acscending.

Performance 2 October 10

Performance 3 September 25

Exhibition 1 October 3

If Descending selected they sort in the following order:

Exhibition 1 October 3

Performance 3 September 25

Performance 2 October 10

#1332037

My issue is resolved now. Thank you!

I have some things to clear up before deciding if I have an issue or not.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.