Get latest events first
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user