How to order Fixtures - Themeum
2 answers
Hi,
Fixtures already ordered by match date. if you can change ordering from page-fixtures.php file in fixture plugins.
thanks
#answer-1257
thanks
They are not ordered by match date. Look http://clip2net.com/s/772XIk. I want to order by creation date, why is possible this?
I think this is the code to modify, but.. how to change to order by creation date?
$fixtures = new WP_Query(array( ‘post_type’ => ‘fixture’,'paged’ => $paged, ‘orderby’ => ‘meta_value’, ‘meta_key’ => ‘date’,'order’ => ‘ASC’));
#answer-1258