Home Forums General Issues Order posts by two values


Order posts by two values

  • I want to do a wp_query and order the output based on a date that is used in the following custom fields.

    start_date or festival_date

    some of the posts have a start_date and some have a festival_date. I want to grab all the posts and order them by theses dates. I know how to order by start_date OR festival_date but not both.

    Any help would be awesome!


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.