[Resuelto] toolset_get_related_posts 'orderby' does not seem to work
This support ticket is created hace 5 años, 2 meses. 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
I'm trying to retrieve the children posts (clog) by date in the descending order (from new to old), but all I get is ascending (from old to new) regardless of what I try.
Before I used to run a rsort() on the resulting array to get the order I need, but now I'm trying to implement the pagination and becomes a problem.
I'm not sure what would happen if you chose null for orderby, it *could* return the posts in the desired order, but that would be a happy accident if so, and you'd need to test. It seems to be returning the posts ordered by date under the hood, but the order argument may be ignored if orderby is null.
If 'null' doesn't help then there is no solution, I'm afraid.