WordPress Notes
Collection of code fragments and useful notes for WordPress Basic word-count by post, from databse SELECT `ID`, `post_date`, `post_name`, `post_type`, `post_status`, `post_title`, `guid`, SUM( LENGTH(`post_content`) - LENGTH(REPLACE(`post_content`, ' ', '')) + 1 ) AS 'Wordcount' FROM `wp_posts` GROUP BY `ID`…