Get latest events first

This commit is contained in:
Brian Miyaji
2015-10-01 11:21:02 +10:00
parent 92687e4d4b
commit 9ee254805f
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
* The SportsPress team class handles individual team data.
*
* @class SP_Team
* @version 1.9.5
* @version 1.9.6
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy
@@ -17,7 +17,7 @@ class SP_Team extends SP_Custom_Post {
'post_type' => 'sp_event',
'numberposts' => 1,
'posts_per_page' => 1,
'order' => 'ASC',
'order' => 'DESC',
'post_status' => 'future',
'meta_query' => array(
array(