Query Sort and Filter with relationships

Hi,

I was wondering if it is possible to use the query sort and filter components with a relationship field? In particular the select. I have an author association to posts, so I’d like to be able to select by author on the archive page.

I’m hoping that it does and I’m just filling out the criteria wrong.

Thank you.

-Ron

how ar eyou saving outhors as taxonomies ?

if yes. yes you can create filters for taxonomies that related to your post type.

enable the filter and play with the filter elements. you need to connect to your loop and select your taxonomy on the element.

Hi,

No, it’s a relationship field. But I don’t think it’s possible because I’m using Meta Box relationships and that doesn’t save as an actual meta field.

Thank you for the response. Appreciate it.

-Ron

1 Like