FIND and REPLACE wp_posts AND IGNORE custom post type mysql query October 13, 2022 by Tarik Billa Add a WHERE clause to your query for post_type="post".