Skip Navigation

[Resolved] Toolset views disable ordering

This support ticket is created 2 years, 6 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 8 replies, has 2 voices.

Last updated by garenM 2 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#2370703

Hey,

I'm using a drp & drop for ordering the posts in the backend. I want to ask if is possible to disable the "ordering by" on the toolset views so it can take the ordering from the drag

#2370913

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Garen,

Thank you for getting in touch.

There isn't a way to disable the ordering as wordpress will always return the posts on the frontend in some order even if it is random.

However how will you be doing the ordering on the frontend with the drag and drop? Is it being done using Javascript? Can you explain this? From how i know the wordpress ordering works, if you want to maintain that order after the page has been refreshed then you must have some sortable attribute stored on the post.

Thanks,
Shane

#2371543

Im uging this plugin https://wordpress.org/plugins/simple-custom-post-order/ Its using a Drag and Drop Sortable JavaScript

#2371811

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Garen,

In this case there might be a sort order custom field on the post.

I installed the plugin and did a check to see if I can find anything that will allow you to reflect this sort order on a view on the frontend but wasn't able to find any custom field.

Can you contact the support team for the plugin and ask them how is the sort order stored and if its in a custom field, what is the name of that custom field or the slug.

Thanks,
Shane

#2372509

Thanks, I will ask

#2372811

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Garen,

Looking forward to an update on this to see how best we can help.

Thanks,
Shane

#2373991

Hey they reply to me the below message

"The custom posts are order by menu_order, not a custom field, and stored in the database in the wp_posts table."

#2374129

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2022-05-30 at 9.33.32 AM.png

Hi Garen,

Thank you for the information.

There is a menu order sort option on our Toolset Views. See Screenshot

This should allow you to maintain the correct sort order when you're viewing the posts on the frontend.

Thanks,
Shane

#2374299

Thats great! thank you so much for your help