Ошибка базы данных WordPress: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY py,pm ASC' at line 6]
SELECT YEAR(p.post_date) AS py, MONTH(p.post_date) AS pm, p.ID AS pi FROM wp_posts AS p JOIN wp_term_relationships AS r ON p.ID=r.object_id JOIN wp_term_taxonomy AS tax ON r.term_taxonomy_id=tax.term_taxonomy_id JOIN wp_terms AS ts ON tax.term_id=ts.term_id WHERE p.post_status="publish" AND tax.taxonomy="category" AND ts.term_id= ORDER BY py,pm ASC

Последние статьи

16 февраля 2015 (22:47)


Новости компании
Последние статьи