Merhaba arkadaşlar;
Benim sorunum şu. Burdaki sitede en üstte "Ana Sayfa" yazan yerin yanına sadece 2 menü daha eklemek istiyorum. Bunların birincisi Arşiv Diğeri Müzikler Olacak bunu nasıl yaparım. Kodu aşağıda veriyorum.
Şimdiden Teşekkürler.
Header.php
Benim sorunum şu. Burdaki sitede en üstte "Ana Sayfa" yazan yerin yanına sadece 2 menü daha eklemek istiyorum. Bunların birincisi Arşiv Diğeri Müzikler Olacak bunu nasıl yaparım. Kodu aşağıda veriyorum.
Şimdiden Teşekkürler.
Header.php
Kod:
<!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" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11"><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /><title><?php wp_title(''); if (function_exists('is_tag') and is_tag()) { ?>Tag Archive for <?php echo $tag; } if (is_archive()) { ?> archive<?php } elseif (is_search()) { ?> Search for <?php echo wp_specialchars($s,1); } if ( !(is_404()) && (is_search()) or (is_single()) or (is_page()) or (function_exists('is_tag') and is_tag()) or (is_archive()) ) { ?> | <?php } ?> <?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="shortcut icon" type="image/ico" href="<?php bloginfo('template_url'); ?>/favicon.ico" />
<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'); ?>" />
<script src="<?php bloginfo('template_directory'); ?>/js/addEvent.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/js/sweetTitles.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function expandIt(getIt){
getIt.style.display=(getIt.style.display=="none")?"":"none";
}
//--></script>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /><?php wp_head(); ?></head>
<body><div id="header"><a title="Top" name="Top"></a>
<div id="tag">
<h1><a title="Home is where the heart is" href="<?php echo get_settings('home'); ?>/">Kesh<span>Tine</span></a></h1>
</div>
<div id="dateToday">
<div id="month"><span id="monthspan"> </span></div>
<div id="day"><span id="dayspan"> </span></div>
<div id="year"><span id="yearspan"> </span></div>
<div class="clear" style="float:none;"></div>
</div>
<script type="text/javascript"><!--
var d = new Date();
var month= d.getMonth()+1;
if(month<10){
month='0'+month;
}
var year="a"+d.getFullYear();
year=year.substring(3,5);
var day = d.getDate();
if(day<10){
day ='0'+day ;
}
document.getElementById('dayspan').innerHTML = day;
document.getElementById('monthspan').innerHTML = month+".";
document.getElementById('yearspan').innerHTML = "."+year;
//-->
</script>
</div>
<div id="wrap">
<div id="navbar">
<ul>
<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 title="Ana Sayfaya Git" href="<?php echo get_settings('home'); ?>"><?php _e('Ana Sayfa'); ?></a></li>