SELECT SQL_CALC_FOUND_ROWS acc_posts.ID FROM acc_posts WHERE 1=1 AND ( 0 = 1 ) AND acc_posts.post_type IN ('post', 'page') AND ((acc_posts.post_status = 'publish')) GROUP BY acc_posts.ID ORDER BY acc_posts.post_date DESC LIMIT 0, 6