Terms Not In Alphabetical Order

I’ve set up a looper that should loop through taxonomy terms under the taxonomy Dates. The problem is it’s not looping alphabetically (see below)

It should be listed as:
WEEK 1: JUNE 21 – 24 (NO CAMP JUNE 20)

WEEK 2: JUNE 27 – JULY 1

WEEK 3: JULY 5-8 (NO CAMP JULY 4)

WEEK 4: JULY 11-15

WEEK 5: JULY 18-22

WEEK 6: JULY 25-29

WEEK 7: AUGUST 1-5

WEEK 8: AUGUST 8-12

WEEK 9: AUGUST 15-19

Right now I have a Looper Provider for the Post Current Terms under the category called Dates. And the Looper Consumer on the headline is set to All.

I’ve added my staging site login credentials/info into a secure note on this post.

Hi @santosfel5,

Thanks for reaching out.
By default the Current Post Terms sort the data by date in ascending order and there is no option to change that.

Thanks

So how can I make it so it shows those terms but in alphabetical order?

Hi @santosfel5,

You can use the Custom Looper where you can fetch the Terms in the alphabetical order. I would suggest you go through the following articles on the custom looper and the get_terms which may help you on this.



Hope it helps.
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.