FIX selectin only published articles in post query
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
350880a925
commit
a2d62a80fa
|
|
@ -6,6 +6,7 @@ switch_to_blog(2);
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'post_type' => 'revues',
|
'post_type' => 'revues',
|
||||||
|
'post_status' => 'publish',
|
||||||
'posts_per_page' => 1,
|
'posts_per_page' => 1,
|
||||||
'orderby' => 'date',
|
'orderby' => 'date',
|
||||||
'order' => 'DESC',
|
'order' => 'DESC',
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ switch_to_blog(2);
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'post_type' => 'revues',
|
'post_type' => 'revues',
|
||||||
|
'post_status' => 'publish',
|
||||||
'posts_per_page' => 1,
|
'posts_per_page' => 1,
|
||||||
'orderby' => 'date',
|
'orderby' => 'date',
|
||||||
'order' => 'DESC',
|
'order' => 'DESC',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user