• 03-01-2009, 15:14:18
    #1
    Alıntı
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>
    <title><?php if (is_single() || is_page() || is_archive()) {wp_title(false); } else { bloginfo('name'); } ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/style.css" type="text/css" media="screen" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <?php wp_get_archives('type=monthly&format=link'); ?>
    <?php wp_head(); ?>

    </head>

    <body>
    <div class="page">
    <div class="header">
    <div class="logo">
    <h1><a class="blog-name" href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <p class="blog-description"><?php bloginfo('description'); ?></p>
    </div><!--logo-->
    </div><!-- header -->

    <div class="menu-bar">
    <ul class="menu">
    <?php if ('page' != get_option('show_on_front')) { ?>
    <li class="<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home'); ?></a></li>
    <?php } ?>
    <?php wp_list_pages('sort_column=menu_order&depth=1&titl e_li='); ?>
    <?php wp_register('<li class="admintab">','</li>'); ?>
    </ul>

    <p class="feed">
    <a class="rss" href="feed:<?php bloginfo('rss2_url'); ?>">RSS Beslemesi</a>
    <a class="techno" href="http://technorati.com/faves?add=<?php bloginfo('url'); ?>">Technorati'ye Ekle</a>
    </p>
    </div> <!-- menu-bar -->
    <title> Ana Sayfa</title>
    <meta name="description" content="site içerigii"/>
    <meta name="keywords" content="anahtar kelime"/>
    <meta name="Theme" content="compex"/>
    <meta name="Design" content="CompeX" />
    <meta name="copyright" content="copyright" />
    <meta name="generator" content="WordPress" />
    <meta name="robots" content="index,follow" />

    nasıl eklerim yardımcı olurmusunuz...
  • 03-01-2009, 15:18:59
    #2
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>
    <title><?php if (is_single() || is_page() || is_archive()) {wp_title(false); } else { bloginfo('name'); } ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/style.css" type="text/css" media="screen" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <meta name="description" content="site içerigii"/>
    <meta name="keywords" content="anahtar kelime"/>
    <meta name="Theme" content="compex"/>
    <meta name="Design" content="CompeX" />
    <meta name="copyright" content="copyright" />
    <meta name="generator" content="WordPress" />
    <meta name="robots" content="index,follow" />
    <?php wp_get_archives('type=monthly&format=link'); ?>
    <?php wp_head(); ?>

    </head>

    <body>
    <div class="page">
    <div class="header">
    <div class="logo">
    <h1><a class="blog-name" href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <p class="blog-description"><?php bloginfo('description'); ?></p>
    </div><!--logo-->
    </div><!-- header -->

    <div class="menu-bar">
    <ul class="menu">
    <?php if ('page' != get_option('show_on_front')) { ?>
    <li class="<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home'); ?></a></li>
    <?php } ?>
    <?php wp_list_pages('sort_column=menu_order&depth=1&titl e_li='); ?>
    <?php wp_register('<li class="admintab">','</li>'); ?>
    </ul>

    <p class="feed">
    <a class="rss" href="feed:<?php bloginfo('rss2_url'); ?>">RSS Beslemesi</a>
    <a class="techno" href="http://technorati.com/faves?add=<?php bloginfo('url'); ?>">Technorati'ye Ekle</a>
    </p>
    </div> <!-- menu-bar -->

    Title Konusuna Gelince O Değişken olduğundan Wordpress Kendi Ayarlar Sen Elinle girersen Tüm yazılarda felan hep aynı title çıkar o yüzden yukarıda verdiğim kodlara eklemedim.Title olayını.Yukarıdaki kodları Header.php ile değiştir.
  • 03-01-2009, 15:19:06
    #3
    Alıntı
    <title><?php if (is_single() || is_page() || is_archive()) {wp_title(false); } else { bloginfo('name'); } ?></title>
    altına