$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();
}
?>
x-daemon-hafif
8 yıl önce üye olmuş, 138 yazı yazmış. yorum yazmış.