This topic has 6 replies, 3 voices, and was last updated 12 years, 6 months ago by MutantSnowCone.
Viewing 7 posts - 1 through 7 (of 7 total)
Since I updated the theme to 1.7.2 I’ve noticed the events widget is showing the farthest away event first and not the closest upcoming event first. For example, it shows an event in may first instead of the event in feb first. How can I fix this?
Thanks
I have the same problem with events appearing in reverse order. I’m also using theme version 1.7.2
I currently do not have anything set in the Attributes > Order box as nothing I type seems to make a difference when the events are updated.
Any suggestions would be helpful!
Open muslcplay/framework/widgets/events.php
After line#82 add the following line
'order' => 'ASC',
As shown in below code.
if( $eventorder == 'upcomeing'){
$query = array(
'post_type' => 'events',
'meta_key' => 'event_date',
'orderby' => 'event_date',
'order' => 'ASC',
'tax_query' => array(
'relation' => 'OR',
),
Perfect! Thanks!
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.