mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-31 09:07:47 +01:00
fix media posts, ref #3
- order by custom publish date - output all of them, not just 50
This commit is contained in:
parent
ea081446a2
commit
2a5a38cddd
@ -743,8 +743,10 @@ class Subtemplate {
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'presscoverage',
|
||||
'order' => 'ASC',
|
||||
'posts_per_page' => 50
|
||||
'order' => 'DESC',
|
||||
'meta_key' => 'date_published',
|
||||
'orderby' => 'meta_value_num',
|
||||
'posts_per_page' => -1
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user