$tuser = get_user_by('slug', $wp_query->query_vars["author_name"]);
if($tuser->ID == 0){
// kullanici yoksa 404
$wp_query->set_404();
status_header(404);
get_template_part( 404 ); exit();
}
?>
51 yıl önce üye olmuş, henüz yazı yazmamış. yorum yazmış.