Best way to create a search for custom post type by custom field values
Your basic query logic looks fine assuming you want an AND relationship between the first, middle, and last names but query_posts is never, ever, ever the right way to do anything. Note: This function isn’t meant to be used by plugins or themes. As explained later, there are better, more performant options to alter the … Read more