diff --git a/readme.txt b/readme.txt index 539f4cf..9539ca8 100755 --- a/readme.txt +++ b/readme.txt @@ -105,6 +105,7 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man ## Changelog ## ### 2.15.7 ### * Fix: PHP warning when archive output is used wrongly +* Fix: Podcast items may be sorted the wrong way ### 2.15.6 ### * Change: Disable autocomplete for date preached, since it obstructed the view on mobile diff --git a/views/wpfc-podcast-feed.php b/views/wpfc-podcast-feed.php index 6e0e2ab..c4ec5c7 100644 --- a/views/wpfc-podcast-feed.php +++ b/views/wpfc-podcast-feed.php @@ -19,6 +19,7 @@ 'meta_value_num' => time(), 'meta_compare' => '<=', 'orderby' => 'meta_value_num', + 'order' => 'DESC', 'paged' => isset( $_GET['paged'] ) ? intval( $_GET['paged'] ) : 1, 'meta_query' => array( 'relation' => 'AND',