» Headerden bunu kaldırmama rağmen hala titlede gösteriyor bunu nasıl kaldırabilirim titleden
Birde yazılardaki, kategorilerdeki Titleler ile Ana Sayfadaki Titleyi nasıl ayırabilirim
» Kalkmıyor
7
●553
- 13-02-2008, 17:13:36MisafirMesut az önce yazdığım sayfaya göz at istersen ,
https://www.r10.net/wordpress/131487-...-ayarlari.html
Kategori sayfan ,anasayfan, arama sayfan , hata sayfan , kullanıcı sayfan vs vs bu sayfaların title , descripion ve keywords metalarını yönetmeyi sağlayan bir plugin. - 13-02-2008, 17:17:54hepsine ayrı title vermek için eklentiler vardır, benim kullandığım tema wordpress fonksiyonlarını kullanmış.
<title><?php $title = ''; if (is_single() ) $title = get_option('mandigo_title_scheme_single'); elseif (is_page() ) $title = get_option('mandigo_title_scheme_page'); elseif (is_archive()) { if (is_day() || is_month() || is_year()) $title = get_option('mandigo_title_scheme_date'); else $title = get_option('mandigo_title_scheme_category'); } elseif (is_search() ) $title = get_option('mandigo_title_scheme_search'); else $title = get_option('mandigo_title_scheme_index'); $title = str_replace('%blogname%',get_bloginfo('name') ,$title); $title = str_replace('%tagline%' ,get_bloginfo('description'),$title); $title = str_replace('%post%' ,get_the_title() ,$title); $title = str_replace('%search%' ,$s ,$title); if (single_cat_title('',false)) $title = str_replace('%category%',single_cat_title('',false) ,$title); else $title = preg_replace("/<[^>]+>/","",str_replace('%category%',get_the_category_list(', '),$title)); if (is_day() ) $title = str_replace('%date%',get_the_time(__('l, F jS, Y','mandigo')),$title); elseif (is_month()) $title = str_replace('%date%',get_the_time(__('F, Y','mandigo')) ,$title); elseif (is_year() ) $title = str_replace('%date%',get_the_time('Y') ,$title); echo $title; ?></title>bir fikir verir, değiştirerek kullanabilirsin.