Custom order in Events RSS: order DESC doesn't work
-
First of all, thanks for great plugin. I’m planning to go PRO in few month. But now I’m just testing it around and using great & free functionality.
I’ve made custom RSS template in my theme-folder /plugins/events-manager/templates/rss.php My task to show latest added events in RSS by creation date, because for my users it’s better to see what’s new.
So I customize query like this:
$EM_Events = EM_Events::get( array('scope'=>'all', 'owner'=>false, 'orderby' => 'event_date_created', 'order' => 'DESC' ) );
orderby => event_date_created is working, but order => DESC isn’t. It’s always showing older to newer in RSS no matter how is it DESC or ASC.
How can I fix this? Thanks!
- The topic ‘Custom order in Events RSS: order DESC doesn't work’ is closed to new replies.