query_posts игнорирует post_type
-
Здравствуйте,
WP 4.0. Query_posts игнорирует post_type, выводит ‘post_type’ => ‘post’. Нормально работало на раних версиях WP. Подскажите плиз куда копать? Благодарю!
query_posts(array('post_type' => 'news', 'offset' => $offset, 'posts_per_page' => 15, 'post_status' => 'publish', 'author' => $author, 'cat' => $category, 'tag' => $tag, 'monthnum' => $datemonth, 'dateyear' => $dateyear, 's' => $search));
Просмотр 5 ответов — с 1 по 5 (всего 5)
Просмотр 5 ответов — с 1 по 5 (всего 5)
- Тема «query_posts игнорирует post_type» закрыта для новых ответов.