Sauter la navigation

[Résolu] How to order by in a view

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

The problem here is that the customer had his view and after filtering his view the post ordering doesn't work anymore.

Solution:

This issue was caused by the Post Type Ordering plugin. The plugin overwrites the ordering that was set in views. I would recommend disabling this plugin.

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

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)

Ce sujet contient 10 réponses, a 2 voix.

Dernière mise à jour par olivierF Il y a 6 années et 9 mois.

Assisté par: Shane.

Auteur
Publications
#626604

When I load the page the ordering is OK.
When I press any button the ordering is gone.

#626672

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Olivier,

Thank you for contacting our support forum.

Would you mind providing me with a link to the page so that I can have a look ?

Thanks,
Shane

#626684

Hi Shane,
Here is the page : lien caché

Thank you.
Olivier

#626716

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Olivier,

Thank you for a link to the page, however could you show me the exact steps on how to replicate the issue ?

Thanks,
Shane

#626719
capture.jpg

When I load the page the ordering is OK but when I press any button the ordering is gone. (like the screenshot).
I want to keep the alphabetic order by post title all the time.

#626723

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Olivier,

I'm not seeing a button on this page to click/press however i'm assuming you're talking the filter at the top correct?

Please let me know.
Thanks,
Shane

#626724

yes I'm talking about the filter...

#626725

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Thanks,

Would you mind providing me with admin access so that I can take a look at the site ? As this should work normally when even after filtering.

When I filter and refresh the page the ordering is done normally. So i'm assuming that there might be something interfering here.

The private fields have been enabled.

Thanks,
Shane

#626726

Ok,

Than kou
Olivier

#626743

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Olivier,

Could you try disabling the post type order plugin and let me know the results.

I've seen where this plugin can cause issues with our views ordering.

Thanks,
Shane

#626746

It works, 😉
Thank you for your support Shane.

Olivier