Skip Navigation

[Resolved] Search categories not displaying in alphabetical order

This thread is resolved. Here is a description of the problem and solution.

Problem: I have a taxonomy search filter that is displaying terms out of order. I want to show the terms in alphabetical order.

Solution: Normally taxonomy filter labels are ordered by name but there are some other options. Please edit this View and scroll to the Search and Pagination editor panel. If you cannot see it, scroll to the top right corner and click "Screen Options". You can enable the Search and Pagination editor panel here. Then check the wpv-control-post-taxonomy shortcode options. If you see the "orderby" option, it should be set to "name" like this:

[wpv-control-post-taxonomy taxonomy="school" type="select" default_label="All" url_param="wpv-school" order="ASC" orderby="name"]

If you do not see the orderby option, there could be a problem with another plugin or your theme.

This support ticket is created 6 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by kenR 6 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1173481
Screen Shot 2018-12-27 at 10.11.10 AM.png

I am trying to: When adding new schools for the parametric search, they are not displaying in alphabetical order on the front end.

Link to a page where the issue can be seen: hidden link

I expected to see: Under the schools dropdown in the left search column the list of schools should be in alphabetical order.

Instead, I got: The most recently created schools are being put at the bottom of the list.

#1173545

Hi, normally taxonomy filter labels are ordered by name but there are some other options. Please edit this View and scroll to the Search and Pagination editor panel. If you cannot see it, scroll to the top right corner and click "Screen Options". You can enable the Search and Pagination editor panel here. Then check the wpv-control-post-taxonomy shortcode options. If you see the "orderby" option, it should be set to "name" like this:

[wpv-control-post-taxonomy taxonomy="school" type="select" default_label="All" url_param="wpv-school" order="ASC" orderby="name"]

If you do not see the orderby option, there could be a problem with another plugin or your theme. Try these troubleshooting steps next:
- Update to the latest version of WordPress and all Toolset plugins.
- Temporarily switch to a default theme like Twenty Nineteen and deactivate all plugins except Types and Views.
- Test again. If the problem is resolved, reactivate your theme and other plugins one by one until the problem returns
- If the problem was not resolved, I'll need to take a closer look.

#1173604

My issue is resolved now. Thank you!