Get WordPress Post ID from Post title
Found a solution if anyone else struggles with this. Only posted the question out of desperation after 4 hours testing/Googling! function get_post_by_title($page_title, $output = OBJECT) { global $wpdb; $post = $wpdb->get_var( $wpdb->prepare( “SELECT ID...