How to create custom query by keyword in post title?
Codex has quite an extensive article on this – Displaying Posts Using a Custom Select Query. In a nutshell: // retrieve posts using our custom SQL (note that you should query * rather than pick fields) $posts = $wpdb->get_results($query, OBJECT); // this is global variable that WP functions rely on for output global $post; // … Read more