• 03-10-2008, 14:27:51
    #1
    Üyeliği durduruldu
    merhaba arkadaşlar,

    bir türlü beceremedim, google dan araştırdım kodlar felan uyuşmadı.
    wordpress sitemde, header'a bannerı nasıl ekleyeceğim?

    lazım olur diye header.php ;
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head>
    <title><?php op_document_title(); ?></title>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <?php op_head(); ?>
    <?php wp_head(); ?>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-3392613-1");
    pageTracker._trackPageview();
    </script>
    </head>
    <body>
    <div id="body-container">
    	<?php //op_before_header(); ?>
    	<div id="navigation">
    		<ul id="nav">
    			<li <?php if(is_home()){echo 'class="current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>" title="Anasayfa">Anasayfa</a></li>
    	     <?php wp_list_pages('title_li=&depth=1');?>
    <li><a href="http://board.csturkey.gen.tr/" title="CsTurkey Forums">Forum</a></li>
    		</ul>
    		<div id='search'>
    			<form method="get" id="searchform" action="http://localhost"><div><input class="search" type="text" name="s" id="s" tabindex="7" value="Search this site..." onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /><input class="search-submit" name="submit" type="submit" id="search-submit" tabindex="8" value="Go" /></div></form>
    		</div>
    	</div>
      <div id="header">
    		<h1 id="site-title">
    			<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><span><?php bloginfo('name'); ?></span></a>
    		</h1>
    		<?php op_header(); ?>
    	</div>
    	<?php op_after_header(); ?>
    	<div id="container">
    		<div id="<?php echo op_page_id(); ?>" class="<?php echo op_page_class(); ?>">
  • 03-10-2008, 14:47:08
    #2
    <title><?php op_document_title(); ?></title>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    burdaki kod yerine bannerin yolunu yaz..
  • 03-10-2008, 14:50:24
    #3
    Kimlik doğrulama veya yönetimden onay bekliyor.
    harew1 adlı üyeden alıntı: mesajı görüntüle
    <title><?php op_document_title(); ?></title>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    burdaki kod yerine bannerin yolunu yaz..
    ne alakası var
  • 03-10-2008, 15:05:24
    #4
    winnt adlı üyeden alıntı: mesajı görüntüle
    ne alakası var
    hocam biliyorsan yaz.Ben bu şekil yapıyorum bi sorun yok.
  • 03-10-2008, 15:35:13
    #5
    Abicim orası meta yerleri. <body> tagından sonra gelir görsel şeyler. O senin dediğin yer ise <head> tagının arasında.

    <div id="header">
    buraya banner kodu koy bakalım işe yarayacakmı.
    </div>
  • 03-10-2008, 16:03:09
    #6
    CyberDisposer adlı üyeden alıntı: mesajı görüntüle
    Abicim orası meta yerleri. <body> tagından sonra gelir görsel şeyler. O senin dediğin yer ise <head> tagının arasında.
    <div id="header">
    buraya banner kodu koy bakalım işe yarayacakmı.
    </div>
    kardeş belirttiğin için saol az önce baktım bende bu şekilde yapmışım sitemde ama diğer yöntemlede bi temada kullanmıştım