Codex tools: Log in / create account
Languages: English • עברית • Türkçe • (Add your language)
Contents |
Bu Koşul Etiketi 404 hatasının görüntülenip, görüntülenmediğini kontrol eder ("HTTP 404: Not Found" hatası oluştuktan sonra). Bu mantıksal bir fonksiyondur, yani TRUE veya FALSE döndürür.
<?php is_404(); ?>
Bu etiket hiçbir parametre almaz.
<?php
if ( is_404() ) {
// arama formu ekle böylece ziyaretçiler başka yazıları arayabilirler
}
?>
Başlangıç: 1.5.0
is_404() fonksiyonu wp-includes/functions.php içerisinde yer almaktadır.
is_home(), is_front_page(), is_search(), is_404(), is_singular(), is_page(), is_attachment(), is_local_attachment(), is_single(), is_sticky(), is_archive(), is_category(), is_tag(), is_author(), is_date(), is_year(), is_month(), is_day(), is_time(), is_admin(), is_preview(), is_paged(), is_page_template(), is_plugin_page(), is_new_day(), is_feed(), is_trackback(), is_comments_popup(), comments_open(), pings_open(), is_taxonomy(), is_taxonomy_hierarchical()