Hi there,
I’m wondering if the following is possible.
I want to create a WordPress query that uses two ACF fields.
The first ACF field we can call “FEATURED”, I always want the first two elements of the query to be “FEATURED” posts. After that, I want all the rest of the posts to be ordered based on a separate int based ACF field. Is this possible to achieve?
Hi @pbalazs89
You could run 2 queries.
The first loop you would query by the custom field ‘featured’ and set the posts per page to 2
You then add another loop but this time query by the next custom field.
Would that work for you?