Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Sorting Events Calendar Events by Event Start Date instead of Publish Date? Reply To: Sorting Events Calendar Events by Event Start Date instead of Publish Date?

#19675
Gary
Participant

I am having the same problem. My events will not sort by ‘Upcoming’ order.

I have debugged and get the following:

array(5) { ["order"]=> string(4) "desc" ["orderby"]=> string(15) "event_dates_asc" ["post_type"]=> string(8) "gd_event" ["posts_per_page"]=> int(10) ["post_status"]=> array(1) { [0]=> string(7) "publish" } }

I am using this shortcode: [wp_show_posts id="14475" settings="orderby=event_dates_asc" ]

The event_dates_asc is custom meta from Geodirectory.