Ordering Custom Post Types by Custom Fields
-
Hi there
I’m trying to create a loop of all my custom post titles and their custom fields. I want to order them by a custom field called ‘vacancy-company’ but it just lists them by post date.
Here’s my code…
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Can someone tell me what I’m doing wrong please?!!!
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Ordering Custom Post Types by Custom Fields’ is closed to new replies.