 add_filter('posts_join', 'websmart_search_join' ); add_filter('posts_groupby', 'websmart_search_groupby' ); add_filter('posts_where', 'websmart_search_where' );  function websmart_search_join( $join ) {     global $wpdb;     if( is_search() && !is_admin()) {             $join .= "LEFT JOIN $wpdb->postmeta AS m ON ($wpdb->posts.ID 