$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();
}
?>
bmert-hafif
8 yıl önce üye olmuş, 1 yazı yazmış. yorum yazmış.
bmert-hafif | 29 September 2002 04:30