Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Order By - Not Working correctly #133

Closed
tonyv69 opened this Issue · 2 comments

2 participants

@tonyv69

Having a problem with orderby=

I have been testing and found that sort / filtering only works on the date published not the date the meeting is set too, is there any work around?

i.e. we have a job date field and the job date field is the field I want to sort / filter by.

I have tried using custom fields and custom sort i.e. WP_Query / query_post ....

Any help would be great

@mikejolley
Owner

Meeting? If you are talking about a date stored in meta e.g. job expirey date, you need to orderby meta.

http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

meta_value. Also requires you set meta_key

@mikejolley mikejolley closed this
@mikejolley
Owner

(closing as this isn't a support area).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.