Support » Fixing WordPress » Query posts by meta value date

Viewing 2 replies - 1 through 2 (of 2 total)
  • Strange, ‘NUMBER’ worked for me. I did have to add ‘meta_key’ => ‘sx_press_review_date’ to get the sort order to work.

    My meta_values are formatted ‘yyyymmdd’. Could a different format be the problem for you?

    Hi vtxyzzy,

    Thanks for your help.

    I’ve managed to get things working by settings the ‘post__not_in’ value has an array, just as specified in WordPress codex page.

    Thanks
    Peter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Query posts by meta value date’ is closed to new replies.