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?
Ok here we go:
This was above the “THIS WEEK” Section on the homepage: https://hcf.cc/#this-week
array(6) { ["order"]=> string(3) "asc" ["orderby"]=> string(10) "start_date" ["post_type"]=> string(12) "tribe_events" ["posts_per_page"]=> int(8) ["post_status"]=> array(1) { [0]=> string(7) "publish" } ["tax_query"]=> array(1) { [0]=> array(4) { ["taxonomy"]=> string(8) "post_tag" ["field"]=> string(4) "slug" ["terms"]=> array(1) { [0]=> string(9) "this-week" } ["operator"]=> string(2) "IN" } } }
and this was on the Online Services Page: https://hcf.cc/services/
array(7) { ["order"]=> string(3) "asc" ["orderby"]=> string(10) "start_date" ["post_type"]=> string(12) "tribe_events" ["posts_per_page"]=> int(10) ["paged"]=> int(0) ["post_status"]=> array(1) { [0]=> string(7) "publish" } ["tax_query"]=> array(1) { [0]=> array(4) { ["taxonomy"]=> string(8) "post_tag" ["field"]=> string(4) "slug" ["terms"]=> array(1) { [0]=> string(15) "online-services" } ["operator"]=> string(2) "IN" } } }
I left them on the page for now if you want to see.
Thanks