Hi!
I’m trying to build something with the looper tool and using the following query string:
post_type=personnel&orderby=meta_value&meta_key={{dc:acf:post_field field=‘c4a-personnel-last-name’}}&order=DESC
Essentially, what I’m trying to do is build out a personnel / team directory and have the list sorted by their last name. I have it set up like this:
- Custom post type for “Personnel”
- ACF Field for their “last name”
I’m trying to have the looper build this out through a query string, but it’s not sorting by that value.
Any ideas?