update theme
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
<?php
|
||||
$posts = get_post_query('post', 1, 'ASC', '', 'interviews');
|
||||
$posts = new WP_Query([
|
||||
'category_name' => 'interviews',
|
||||
'post_type' => 'post',
|
||||
'posts_per_page' => 1,
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC'
|
||||
]);
|
||||
|
||||
if ($posts->have_posts()) :
|
||||
while ($posts->have_posts()) :
|
||||
|
||||
Reference in New Issue
Block a user