Query Loop Terms by First Letter

Hi folks,

I’ve got a request to create a page that selects terms based on their first letters. Here’s the current version that’s just terms sorted alphabetically: https://jaxengrey.com/brands/

Idea would be:

A
[Provider = starts_with ‘A’ ; taxonomy=‘terms’]
[consumer] Abracadabra…
Alpha…
Alphabet…

B
[Provider = starts_with ‘B’ ; taxonomy=‘terms’]
Bob
Baby
etc.

I’m guessing that this would be a job for Themeco’s ONE team, but I figured I’d ask here first. If I can learn how to do it myself, that’d be ideal.

Thanks!

Hey there,

I believe that is possible but would require the use of a Query String or even a Custom Looper. Those 2 kinds of loopers need some coding. For the Query String, you need to convert your WP Query into a query string. That would require familiarity with WP Query which is a general WordPress topic so that goes beyond the scope of our theme support to provide guidance for. You can subscribe to our One Premium Support if you need guidance on WordPress in general.

Thanks.

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