Forums

Get posts where metakey end_date value is greater than current date (1 post)

  1. Johns3n
    Member
    Posted 7 months ago #

    Hi everyone at WordPress.org

    First off i'm truly sorry if this has been requested many times...

    But I was wondering if any of you could help me with a query i'm trying to do..

    I have a metakey called end_date where i put a date and time in the following format: "DD/MM/YYYY HH:MM" now I need to select all the posts where the current time hasn't surpassed that enddate metakey value and then order all the found posts by the metakey start_date, which is in the same dateformat as end_date

    Should be straight forward.. but what can I say.. I'm more a frontend guy than PHP guy :(

    If you are ever in Denmark i'll buy you a beer if you help me :)

Reply

You must log in to post.

About this Topic

Tags