Ошибка выполнения запроса:SELECT * FROM `wp_posts`,`wp_term_relationships` WHERE wp_term_relationships.object_id = wp_posts.ID AND wp_posts.post_type = 'books' AND (`wp_posts`.post_status='publish' OR `wp_posts`.post_status='archive') AND wp_term_relationships.term_taxonomy_id =(SELECT t.term_id FROM `wp_terms` t WHERE t.term_id = '25') ORDER BY REPLACE(wp_posts.post_title, '', '') No database selected