When WP_Query is not enough: safe custom SQL with $wpdb, plugin tables created with dbDelta, joins and aggregates over WordPress tables, and querying the WooCommerce order tables directly.
Get links to all posts that contain a specific phrase Hi all! Today we continue with SEO questions. Imagine a large website with thousands of pages. We have to find a word, or a part of a word, in the content of the posts, output links to all pages that contain it, and then be…