Navigation überspringen

[Gelöst] Sorting Control change select box to button

This support ticket is created vor 1 year, 6 months. 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
- 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 3 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Minesh vor 1 year, 6 months.

Assistiert von: Minesh.

Author
Artikel
#2787488

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

#2787529

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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/