Skip Navigation

[Fermé] Archive: Front-end sort by ACF field in Classic Editor

This support ticket is created Il y a 1 an et 7 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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: Asia/Karachi (GMT+05:00)

This topic contains 1 réponse, has 2 voix.

Last updated by Waqar Il y a 1 an et 7 mois.

Assisted by: Waqar.

Auteur
Publications
#2458777

I have a custom post type defined in Toolset that is using Advanced Custom Fields. One of these fields is "Discounted Price".

I can set the Ordering in the archive to "Order by 'Field-discounted_price' Descending As number" so that the products are listed by price, high to low, by default. This works as expected.

I'd like to give the user the opportunity to reverse this to Low to High.

I am having trouble working with the Sorting controls in the Search and Pagination area to achieve this.

How might I set this up to allow the front-end user to re-sort the archive to Ascending?

Thank you for your help.

#2458961

Waqar
Supporter

Languages: Anglais (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

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

To troubleshoot and suggest the best way to achieve this, I'll need to see how this custom field and the archive are set up in the admin area.

Can you please share temporary admin login details, along with the link to this archive page?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

Le sujet ‘[Fermé] Archive: Front-end sort by ACF field in Classic Editor’ est fermé à de nouvelles réponses.