Ordering [jobs] based on custom post field
-
I have a question regarding the ordering in the [jobs] shortcode. I have a custom field names ‘order’, which contains a double which I want to use for ordering jobs in the [jobs] shortcode. How can I use this custom meta field of the custom post type ‘job_listing’ for ordering jobs?
Next to that I still want to keep featured listings on top of the ordering. So first the featured jobs, and then all jobs ordered by the custom post field ‘order’ ascending. How can I achieve this?
Thanks in advance.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Ordering [jobs] based on custom post field’ is closed to new replies.