Skip Navigation

[Resolved] Sorting order of relationship post type items

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

Problem:
The user asks about the feature of having a sort order for related posts.

Solution:
This feature is not available by default. We have added it to our feature request list, and hopefully, we'll release it in an upcoming version.

This support ticket is created 3 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
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

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 5 replies, has 2 voices.

Last updated by xiaolinW 3 years, 8 months ago.

Assisted by: Jamal.

Author
Posts
#2065139

Hello, is there any update about this feature? I want to show on frontend a list of connected posts in a custom order, like the way I can do with wp core tag.

https://toolset.com/forums/topic/sorting-order-of-relationship-post-type-items

#2065473

Hello and thank you for contacting the Toolset support.

I could not track this feature down in our internal features request tool. I am sorry, I can't add your voice if I don't find any feature request.

However, I believe that you can add a custom number field to the "child" post type(in case of one-to-many relationship), or to the "intermediary" post type(in case of many-to-many relationship). Then you can use this custom field in sorting the view that will display the related posts.

I hope this makes sense. Let me know if you have any questions.

#2069127

Thank you! I'll use this method but I would have preferred order drag and drop.

#2069509

Can I ask you to open a request for this feature please? I can use the trick for now in admin section but for clients in frontend page it's a little inconvenient to use and also I need to double query relationship going through intermediary post to order child posts. I wish you can implement something like the multiple value custom field which you can order dragging each field. Doing this way also will use only one row in post_meta table, instead of many rows using your suggested trick. Thank you!!

#2070949

Of course, I added this feature request. However, we can't provide an ETA of when this could be implemented. It may take a few months.

Thank you for your suggestion.

#2071175

My issue is resolved now. Thank you!