Skip Navigation

[Resolved] Sorting Control change select box to button

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 1 voice.

Last updated by Minesh 8 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2787488

Is there any way to change the sorting select box to a button?

#2787529

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

AS you can see with our Doc:
=> https://toolset.com/course-lesson/creating-a-custom-search/#add-front-end-sorting-to-search-results

The possible options to display sorting controls is using select dropdown or list dropdown.

There is no native feature available to add the sorting controls as buttons.

#2787582

Okay. I understand that the feature is not available by default now.

Is there any shortcode or snippet to callout the sorting features?
So I could try to add custom code instead of using the default sorting controls block.

I've seen this article but I'm not sure if it works now.
https://toolset.com/documentation/legacy-features/views-plugin/allowing-visitors-to-sort-the-front-end-results/#how-to-style-the-sorting-controls

#2787584

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - the Doc is still valid but you will have to create a view in classic mode:
=> https://toolset.com/documentation/legacy-features/views-plugin/allowing-visitors-to-sort-the-front-end-results/#how-to-style-the-sorting-controls

Here is the Doc that shows information how you can eanable the classic/legacy view:
=> https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

And here is the Doc that shows information how you can build custom search using Clssic/legacy view:
=> https://toolset.com/documentation/legacy-features/views-plugin/front-page-filters/