Saltar navegación

[Resuelto] Sorting Controls – Change the 'Default Order' dropdown labels

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

A user asked how can he change the sorting direction labels for the default "order by" criteria.

Solution:

Suggested that to change the label of the default "order by" option, you'll need to add its option as well, under the "Sorting Options" section, as shown in the attached screenshot.
( ref:https://toolset.com/forums/topic/sorting-controls-change-the-default-order-dropdown-labels/#post-2326607 )

Relevant Documentation:

n/a

This support ticket is created 4 years, 2 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 -

Zona horaria del colaborador: Asia/Karachi (GMT+05:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por scottC-2 4 years, 2 months ago.

Asistido por: Waqar.

Autor
Mensajes
#2326477
chrome_qczZa66OPq.png

Tell us what you are trying to do?
Edit the names of the default order dropdowns like the addional ordering options. Does this need to be done via a function or code? I can't see any editable options. Currently says 'Post type' 'Ascending'

Is there any documentation that you are following?
No

Is there a similar example that we can see?
The addional sorting options below the default have fields to change the labels

#2326607
sorting-control-labels.png

Hi,

Thank you for contacting us and I'd be happy to assist.

To change the label of the default "order by" option ( in this case "Post type"), you can add its option under the "Sorting Options", as shown in the attached screenshot.

regards,
Waqar

#2328337

Thank you. Makes sense now but really didn't at the time.
My issue is resolved.