• 30-05-2010, 00:52:25
    #1
    Merhaba Arkadaslar kimi temalarda örneğin bir yazıyı okumak istiyoruz tıklayınca (acılıyor lütfen bekleyin ve reklam cıkıyor) bunu nasıl kendi temama koyabilirim bu tema özelliğimi yoksa kod ile her temaya yapılabilirmi?
  • 30-05-2010, 01:03:28
    #2
    Yapılabilir. https://www.r10.net/1060706869-post3.html

    Düzenleme: Video buraya gelecek yazan yere bunu yaz: <?php the_content(); ?>
  • 30-05-2010, 01:09:01
    #3
    çok sağol usta

    edit: hocam bu kodu hangi dosyaya uygulamam gerekiyor single.php mi acaba tam detaylı anlatmamış arkadaş birazda acemilik var
  • 30-05-2010, 01:20:40
    #4
    Pardon yazmayı unutmuşum, evet single.php'deki bölümdekini düzenlersin. Takıldığın yer olursa yardımcı olurum gene.
  • 30-05-2010, 01:30:44
    #5
    antishareware adlı üyeden alıntı: mesajı görüntüle
    Pardon yazmayı unutmuşum, evet single.php'deki bölümdekini düzenlersin. Takıldığın yer olursa yardımcı olurum gene.
    burda
    <body> tagından önce aşağıdaki kodu koy

    demiş ama benim single.php de <body> yokki
  • 30-05-2010, 01:34:29
    #6
    Detayını ben vereyim en iyisi. header.php'deki <head></head> etiketleri arasına aşağıdaki kodu yerleştir.
    Alıntı
    <script type="text/javascript">
    setTimeout('gizle()',10000);
    function gizle() {
    var x=document.getElementById('player').style;
    var y=document.getElementById('playerreklam').style;
    y.display='none'; x.display='block';
    }
    </script>
    Daha sonra single.php'yi aç, aşağıdaki şekilde content kodunu da düzenle.
    Alıntı
    <div id="player" style="display:none"><?php the_content(); ?> </div>
    <div id="playerreklam">REKLAM KODLARI</div>
    Bu şekilde olur, hazırladığım temalarda bu sistemi kullanıyorum. body etiketleri arasına eklediğin kodlardaki 10000 rakamı 10 sn. sonra açılacak demektir. Onu da kendine göre düzenlersin.
  • 30-05-2010, 01:44:24
    #7
    cok saol ustam ama beceremedim ben sanırım olmadı saol yordum seni
  • 30-05-2010, 01:50:55
    #8
    Ne demek, header.php ve single.php koyarsan buraya ayarlarım istersen. O kadar anlattık bari sonuca ulaşalım.
  • 30-05-2010, 02:02:27
    #9
    Header.php
    <!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">
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    
    <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
    	
    <link rel="stylesheet" href="http://www.filmdiziizlet.com/wp-content/themes/tm/style.css" type="text/css" media="screen" />
    
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="http://www.filmdiziizlet.com/feed" />
    
    <link rel="pingback" href="http://www.filmdiziizlet.com/xmlrpc.php" />
    
    	<style type="text/css" media="screen">
    
    	
    		
    	<?php if (get_settings('thread_comments') == 1){ ?>	
    		
    
    ol.commentlist li div.reply {
    
    	font:bold 12px/1.4 arial, verdana, helvetica, sans-serif;
    	background:#666;
    	border:1px solid #787878;
    	padding:2px 10px;
    	text-align:center;
    	width:55px;
    	-moz-border-radius: 3px;
    	-khtml-border-radius: 3px;
    	-webkit-border-radius: 3px;
    	border-radius: 3px;
    	color: white;
    	}
    	
    ol.commentlist li div.reply a, ol.commentlist li div.reply a:hover{
    	color: white;
    	font-weight: 100;
    }	
    		
    	ol.commentlist li div.reply:hover {
    	background:#777;
    	border:1px solid #888;
    	}
    	<?php } ?>			
    		
    	</style>
    
    	<script type="text/javascript" src="http://www.filmdiziizlet.com/wp-content/themes/tm/scripts/utils.js"></script>
    <?php
     	if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
    	wp_head();
     ?>
     
    </head>
    <body>
    <div id="wrapper">
    
    	<div id="surheader">
    	
    		<p><?php echo ap_twitterLink(); ?> <img style="vertical-align:-3px;" alt="RSS" src="http://www.filmdiziizlet.com/wp-content/themes/tm/images/feed-icon-16x16.gif" height="16" width="16" /> <a href="http://www.filmdiziizlet.com/feed"><?php _e('Filmleri Takip Et ',''); ?></a></p>
    	
    	</div>	
    
    
    	<div id="header">
    	
    	<form method="get" id="searchform2" action="<?php bloginfo('home'); ?>">
    		<input type="text"  onfocus="doClear(this)" value="<?php _e('Film Ara...',''); ?>" name="s" id="search2" />
    		<input type="submit" id="search2submit" value="" />
    	</form>
    	
    	<?php them_logo(); ?>
    		
    	</div>
    	
    	<div id="container">
    
    		<div id="tabs" class="horizmenu">
    
    			<ul>
    			        <li><a href="http://www.filmdiziizlet.com/" title="Ana Sayfa">Ana Sayfa</a></li>
                        <li><a href="http://www.filmdiziizlet.com/iletisim" title="Ana Sayfa">İletisim</a></li>
                        <li><a href="http://www.filmdiziizlet.com/nasil-izlerim" title="Ana Sayfa">Nasıl izlerim</a></li>
                        <li><a href="http://www.filmdiziizlet.com/film-iste" title="Film iste">Film iste</a></li>
    
    					</ul>
    		</div>
    Single.php
    <?php get_header(); ?>
    
    <div id="content">
    	<div id="content-inner">
    
    <div id="main">
    
    <?php if (have_posts()) : ?>
    		
    	<?php while (have_posts()) : the_post(); ?>
    			
    	<div class="post" id="post-<?php the_ID(); ?>">
    	
    			
    		<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to', ''); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    		
    		<div class="entry">
    
    			<div class="authormeta">
    							
    				<?php _e('By',''); ?> <?php the_author_posts_link(); ?>, <?php the_date($ap_dateTimeFormat); ?></div>
    	
    <center>
    <script type="text/javascript"><!--
    google_ad_client = "pub-9208406731968728";
    /* 336x280, oluşturulma 16.03.2010 */
    google_ad_slot = "9353718380";
    google_ad_width = 336;
    google_ad_height = 280;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
    
    <script type="text/javascript"><!--
    google_ad_client = "pub-9208406731968728";
    /* 468x15, oluşturulma 22.05.2010 */
    google_ad_slot = "4012763542";
    google_ad_width = 468;
    google_ad_height = 15;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </center>
     <div class="post">
                            <?php the_content(__('izle'));?>
                        </div>
    
    					<?php wp_link_pages(array('before' => '<p><strong>'. __('Pages','') .':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    				<div style="clear:both"></div>
    		</div>
    <center>
    <?php if (function_exists('emo_vote_display')) emo_vote_display('Hic Oylanmadi', '1 Kisi Oyladi', '% votes'); ?>
    <script type="text/javascript"><!--
    google_ad_client = "pub-9208406731968728";
    /* 336x280, oluşturulma 23.05.2010 */
    google_ad_slot = "8304467111";
    google_ad_width = 336;
    google_ad_height = 280;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
    <h1 style="text-align: center;"><span style="color: #ffffff;">Emeğe Saygı!</span></h1>
    <h1 style="text-align: center;"><span style="color: #ffffff;">Bir Yorumu Çok Görmeyin</span></h1>
    <p style="text-align: center;"></p>
    </center>
    		<div class="postmetadata">
    		
    			<p><img style="vertical-align:-5px;" alt=/"" height="16" width="16" /> <?php the_category(', ') ?> 
    			 <?php if (get_the_tags()){?>
    		 		  <img style="vertical-align:-5px;" alt="<?php _e('tags',''); ?>" src="http://www.filmdiziizlet.com/wp-content/themes/tm/images/tag.gif" height="16" width="16" /> <?php the_tags('') ?>
    		<?php } ?> <?php edit_post_link(__('Edit'),' ',''); ?></p>			
    			</div> 
    	
    		
    		
    		<?php comments_template(); ?>
    		
    		
    		</div>
    		
    		
    
    
    	<?php endwhile; ?>
    
    	
    	
    	<div id="navigation">
    			<?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?>
    	</div>
    			
    	
    
    	<?php else : ?>
    	
    	<div class="post">
    	<div class="entry">
    		<h2><?php _e('Not Found',''); ?></h2>
    		<p><?php _e('Sorry, you are looking for something that isn\'t here.',''); ?></p>
    	</div>
    	</div>	
    		
    		
    	<?php endif; ?>
    	
    	
    
    	</div> <!-- eof main -->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>