Support

Account

Home Forums Front-end Issues Sorting by date Reply To: Sorting by date

  • My apologies for the confusion.

    My code prints out the loop that I want, however, it is not sorted by the date field that I specified. I just need my loo[p to list items in chronological order based on the date field that is specified in the query.

    'meta_key' => 'date_received',
    'orderby' => 'meta_value_num',