[WordPress] Compter le nombre de publication/post par année en SQL

[Wordpress] Compter le nombre de publication/post par année en SQL.

mysql> SELECT COUNT(*) FROM wp_posts WHERE YEAR(post_date) = 2016 AND post_type = 'post' AND post_status = 'publish'
99

Comments are closed, but trackbacks and pingbacks are open.