• 15-07-2014, 02:15:51
    #1
    Merhaba,
    4 ay önce ilk sitemi arkadaşlarım ile kurduk. Adsense başvurduk ve kabul edildik. Logonun yanına headres bölümüne 468x60 boyutlarında banner reklam istiyorum. kodları biraz kurcaladım ama tam ayarlayamadım. Sizden yardım bekliyorum.

    Tam bu kısıma. headers.php yi aşağıda paylaşıyorum.



    
    <!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" dir="ltr" lang="tr-TR"><head profile="http://gmpg.org/xfn/11">
    
    
    
    
    
    <title><?php if( is_search() ) { $ser = $_GET['s']; ?><?php _e('Search'); ?><?php echo " &quot;" . wp_specialchars($ser, 1) . "&quot;"; } ?><?php wp_title(''); ?><?php if( ! is_home() ) { ?> | <?php } ?><?php echo strip_tags(html_entity_decode(get_option('blogname'),ENT_NOQUOTES,'UTF-8')); ?></title>
    
    
    
    
    
    <?php $favicon = (get_option('teknoloji_favicon') <> '') ? get_option('teknoloji_favicon') : get_bloginfo('template_directory').'/resim/favicon.png'; ?>
    
    
    <link rel="icon" type="image/png" href="<?php echo esc_url($favicon); ?>" />
    
    
    
    
    
    <?php wp_head(); ?>
    
    
    
    
    
    
    
    
            <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/style.css" />
    
    
            <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
    
    
            <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.js"></script>
    
    
    
    
    
        </head>
    
    	
    	
    
    
        <body>
    	
    
    
            <div id="ust-kisim">
    
    
                <div id="header">
    				
    
                    <a href="<?php bloginfo('home'); ?>"><img style="margin:20px 0 0 0;" src="<?php bloginfo('stylesheet_directory'); ?>/resim/logo.png" width="251" height="61" alt="logo" /></a>
    
    
    				<div id="logo-yani">							
    				
     
                    <div id="ana-menu">				
    
    
    					<a href="<?php bloginfo('home'); ?>">ANASAYFA</a>
    
    
    					<a href="<?php bloginfo('home'); ?>/hakkimizda">HAKKIMIZDA</a> 
    
    
    					<a href="<?php bloginfo('home'); ?>/iletisim">İLETİŞİM</a>
    
    
    				</div>
    				
    			
    
    
                        <div id="arama-kutusu">
    					
    					
    
    
                            <script type="text/javascript">					
    
    
    						
    
    
    //<![CDATA[
    
    
    (function() {
    
    
    document.write('<form method="get" id="searchform" action="<?php bloginfo('home'); ?>">');
    
    
    document.write('<input type="text" value="" placeholder="Aramak istediÄŸiniz kelime ?" id="arama-kutu" name="s" tabindex="1" />');
    
    
    document.write('<input type="submit" id="arama-buton" value="" tabindex="1" />');
    
    
    document.write('</form>');
    
    
    })();
    
    
    //]]>
    
    
    </script>                    </div>
    
    
    				</div>
    
    
                </div>
    
    
            </div>
  • 15-07-2014, 02:22:20
    #2
    BlitzHan adlı üyeden alıntı: mesajı görüntüle
    Merhaba,
    4 ay önce ilk sitemi arkadaşlarım ile kurduk. Adsense başvurduk ve kabul edildik. Logonun yanına headres bölümüne 468x60 boyutlarında banner reklam istiyorum. kodları biraz kurcaladım ama tam ayarlayamadım. Sizden yardım bekliyorum.

    Tam bu kısıma. headers.php yi aşağıda paylaşıyorum.



    
    <!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" dir="ltr" lang="tr-TR"><head profile="http://gmpg.org/xfn/11">
    
    
    
    
    
    <title><?php if( is_search() ) { $ser = $_GET['s']; ?><?php _e('Search'); ?><?php echo " &quot;" . wp_specialchars($ser, 1) . "&quot;"; } ?><?php wp_title(''); ?><?php if( ! is_home() ) { ?> | <?php } ?><?php echo strip_tags(html_entity_decode(get_option('blogname'),ENT_NOQUOTES,'UTF-8')); ?></title>
    
    
    
    
    
    <?php $favicon = (get_option('teknoloji_favicon') <> '') ? get_option('teknoloji_favicon') : get_bloginfo('template_directory').'/resim/favicon.png'; ?>
    
    
    <link rel="icon" type="image/png" href="<?php echo esc_url($favicon); ?>" />
    
    
    
    
    
    <?php wp_head(); ?>
    
    
    
    
    
    
    
    
            <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/style.css" />
    
    
            <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
    
    
            <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.js"></script>
    
    
    
    
    
        </head>
    
    	
    	
    
    
        <body>
    	
    
    
            <div id="ust-kisim">
    
    
                <div id="header">
    				
    
                    <a href="<?php bloginfo('home'); ?>"><img style="margin:20px 0 0 0;" src="<?php bloginfo('stylesheet_directory'); ?>/resim/logo.png" width="251" height="61" alt="logo" /></a>
    
    
    				<div id="logo-yani">							
    				
     
                    <div id="ana-menu">				
    
    
    					<a href="<?php bloginfo('home'); ?>">ANASAYFA</a>
    
    
    					<a href="<?php bloginfo('home'); ?>/hakkimizda">HAKKIMIZDA</a> 
    
    
    					<a href="<?php bloginfo('home'); ?>/iletisim">İLETİŞİM</a>
    
    
    				</div>
    				
    			
    
    
                        <div id="arama-kutusu">
    					
    					
    
    
                            <script type="text/javascript">					
    
    
    						
    
    
    //<![CDATA[
    
    
    (function() {
    
    
    document.write('<form method="get" id="searchform" action="<?php bloginfo('home'); ?>">');
    
    
    document.write('<input type="text" value="" placeholder="Aramak istediÄŸiniz kelime ?" id="arama-kutu" name="s" tabindex="1" />');
    
    
    document.write('<input type="submit" id="arama-buton" value="" tabindex="1" />');
    
    
    document.write('</form>');
    
    
    })();
    
    
    //]]>
    
    
    </script>                    </div>
    
    
    				</div>
    
    
                </div>
    
    
            </div>
    Alıntı
    <a href="<?php bloginfo('home'); ?>"><img style="margin:20px 0 0 0;" src="<?php bloginfo('stylesheet_directory'); ?>/resim/logo.png" width="251" height="61" alt="logo" /></a>
    Bu satırın hemen altına yazdığınızda nerede gözüküyor reklam. Eğer logonun hemen altına geliyorsa üstteki kodu şekildeki gibi değiştirip bir deneyebilir misiniz?

    Alıntı
    <a href="<?php bloginfo('home'); ?>"><img style="margin:20px 0 0 0; float:left;" src="<?php bloginfo('stylesheet_directory'); ?>/resim/logo.png" width="251" height="61" alt="logo" /></a>
  • 15-07-2014, 02:29:59
    #3
    nilbek adlı üyeden alıntı: mesajı görüntüle
    Bu satırın hemen altına yazdığınızda nerede gözüküyor reklam. Eğer logonun hemen altına geliyorsa üstteki kodu şekildeki gibi değiştirip bir deneyebilir misiniz?
    Şuan test için resim koydum ve tabiri caizse cuk oturdu. Şuan resim kodu yapıştırdım. Googleden aldığım adsenseyi yapıştırsam aynı şekilde olurmu ?

    Yukarda sitemi vermeyi unutmuşum sanırım. Buyrun
  • 15-07-2014, 02:53:02
    #4
    BlitzHan adlı üyeden alıntı: mesajı görüntüle
    Şuan test için resim koydum ve tabiri caizse cuk oturdu. Şuan resim kodu yapıştırdım. Googleden aldığım adsenseyi yapıştırsam aynı şekilde olurmu ?

    Yukarda sitemi vermeyi unutmuşum sanırım. Buyrun
    Yardımcı olabildiğime sevindim AdSense hayırlı olsun, evet aynı şekilde gözükecektir. İyi çalışmalar.