Custom query sort by custom fields pagination
To get straight to the question:
What I have is a category called ‘hotels’, with unlimited posts in it. Each post is one hotel, which may or may not have ‘URL’ custom field leading to it’s web site.
Now, since those with that custom field are more important, I need to have them displayed first, and only then will the posts without that custom field appear.
The pagination must work, obviously.
Since I haven’t been able to solve this on my own, I’m asking for your help. To be completely concrete, I haven’t been able to come up with the query needed.
- The topic ‘Custom query sort by custom fields pagination’ is closed to new replies.