DALE: Order: Sort your query elements by ACF relation

This example uses the Doctor And Location Example (DALE).

You would like to sort query elements by the order of the provided relation? In this example we are using a ACF relation to achieve this.

grafik

grafik

This can be done by selecting the post In option of the Query 2:

grafik

Now the elements will be displayed in the same order as you placed them in the ACF Location relatioship of each Doctor.

If you have comments or questions to this topic please leave a reply. For other DALE related questions please visit the the DALE post.

1 Like