Skip Navigation

[Resolved] How to change sort order of post

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to change sort order of post

Solution:
You should add a custom number field to your post type that holds the order number and later when you display the posts using view set your view to order by using this custom number field from the orderby section of the view.

Relevant Documentation:

This support ticket is created 5 years, 8 months ago. 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by mariaT-2 5 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1217734

Is it possible to have in custom post types custom sorting? For example let's say that we have in a custom post type 10 records. And for a reason in the front end I would like one record to transfer it on top of the others. How can I achieve this from the back end?

#1217751

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - You should add a custom number field to your post type that holds the order number and later when you display the posts using view set your view to orderby using this custom number field from orderby section of view.

#1230677

My issue is resolved now. Thank you!