WHERE post_name='".seo($baslik)."',post_type='post'"
where yapısında and yerine virgül koymuşsunuz farkettiniz mi ?