• 29-06-2014, 20:58:29
    #1
    Arkadaşlar Sitem için tema değiştireceğim.Fakat yeni temada facebook yorumları görünmüyor.Eklenti vs denedim ama oda yorumları göstermiyor sıfır dan görünüyor.Yorumları yeni temada nasıl gösterebilirim ?
  • 29-06-2014, 21:06:41
    #2
    yeni tema yorumları destekliyor mu ?
  • 29-06-2014, 21:13:16
    #3
    truser adlı üyeden alıntı: mesajı görüntüle
    yeni tema yorumları destekliyor mu ?
    Hocam Wordpress Yorum Eklentisi kurdum.Yorum yapılıyor fakat eski temadaki facebook yorumlarını göstermiyor.Bunun dışında bir bilgim yok.Herhalde destekliyordur.Temanın ismi sahifa 4.2.2
  • 29-06-2014, 21:15:59
    #4
    OzgurTr adlı üyeden alıntı: mesajı görüntüle
    Hocam Wordpress Yorum Eklentisi kurdum.Yorum yapılıyor fakat eski temadaki facebook yorumlarını göstermiyor.Bunun dışında bir bilgim yok.Herhalde destekliyordur.Temanın ismi sahifa 4.2.2
    Hocam eski tema da kullandığınız facebook yorum kodlarını yeni temaya ekleyin.
  • 29-06-2014, 21:19:00
    #5
    truser adlı üyeden alıntı: mesajı görüntüle
    Hocam eski tema da kullandığınız facebook yorum kodlarını yeni temaya ekleyin.
    Sanırım Header.php'de bulunan kodlardan bahsediyorsunuz.Denedım ama olmadı.Başkabir yerde kod varmı bilmiyorum.2.5 yıl önce falan düzenlemiştim eski temayı
  • 29-06-2014, 21:20:06
    #6
    OzgurTr adlı üyeden alıntı: mesajı görüntüle
    Sanırım Header.php'de bulunan kodlardan bahsediyorsunuz.Denedım ama olmadı.Başkabir yerde kod varmı bilmiyorum.2.5 yıl önce falan düzenlemiştim eski temayı
    single.php deki hocam.
  • 29-06-2014, 22:24:14
    #7
    truser adlı üyeden alıntı: mesajı görüntüle
    single.php deki hocam.
    Single.php bu şekilde ama her hangi facebook yorum kodu gibi bir şey yok .s

    <?php
    get_header();
    ?>
    
    <!-- Begin #colLeft -->
    		<div id="colLeft">
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<!-- Begin .postBox -->
    		<div class="postBox">
    			<div class="postBoxTop"></div>
    			<div class="postBoxMid">
    				<div class="postBoxMidInner first clearfix">
    				<div class="date"><?php the_time('M') ?><br /><span class="day"><?php the_time('j') ?></span><br /><?php the_time('Y') ?></div>
    				<div class="category"><?php echo time_ago(); ?> önce <strong><?php the_author_link(); ?></strong> tarafından yazılmıştır. </div>
    				<h1><?php the_title(); ?></h1>
    				
    <!--Reklam-->
    <a href="http://www.romossturkiye.com"><img class="alignnone" alt="" src="http://img27.imageshack.us/img27/103/4aua.png" width="300" height="250" />
    
    </a>
    <!--Reklam-->
    				
    				<div class="postMetaSingle">
    					<img src="<?php bloginfo('template_directory'); ?>/images/ico_kategori.png" alt="Author"/> <?php the_category(' // ') ?> &nbsp;&nbsp;&nbsp;
    					<img src="<?php bloginfo('template_directory'); ?>/images/ico_comments.png" alt="Comments"/> <?php comments_popup_link('Yorum Yapılmamış', '1 Yorum Yapılmış ', '% Yorum Yapılmış'); ?>	&nbsp;&nbsp;&nbsp;
    					<img src="<?php bloginfo('template_directory'); ?>/images/ico_statistics.png" alt="Comments"/> <?php if(function_exists('the_views')) { the_views(); } ?>					
    				</div>
    
    					<?php the_content(); ?>	
    
    <!--Reklam-->
    <script type="text/javascript"><!--
    google_ad_client = "ca-pub-5207010761534609";
    /* 300x250 */
    google_ad_slot = "9239458546";
    google_ad_width = 300;
    google_ad_height = 250;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <!--Reklam-->
    					
                        <div class="postTags"><?php the_tags(); ?></div>
    				</div>
    					<div class="postCredentials">
    							
    							<!-- Social Sharing Icons -->
    							<div class="social">
    							<strong>Yazıyı Sosyal Ağlarda Paylaşın!</strong>
    									<a href="http://twitter.com/home/?status=<?php the_title(); ?> : <?php the_permalink(); ?>" target="_blank" title="Yazıyı Tweetle!">
    									<img src="<?php bloginfo('template_directory'); ?>/images/twitter.png" alt="Yazıyı Tweetle!" /></a>				
    									<a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&amp;amp;title=<?php the_title(); ?>" target="_blank" title="StumbleUpon'da Paylaş.">
    									<img src="<?php bloginfo('template_directory'); ?>/images/stumbleupon.png" alt="StumbleUpon'da Paylaş." /></a>
    									<a href="http://digg.com/submit?phase=2&amp;amp;url=<?php the_permalink(); ?>&amp;amp;title=<?php the_title(); ?>" target="_blank" title="Digg'de Paylaş!">
    									<img src="<?php bloginfo('template_directory'); ?>/images/digg.png" alt="Digg'de Paylaş!" /></a>				
    									<a href="http://del.icio.us/post?url=<?php the_permalink(); ?>&amp;amp;title=<?php the_title(); ?>" target="_blank" title="Delicious'a Ekle.">
    									<img src="<?php bloginfo('template_directory'); ?>/images/delicious.png" alt="Delicious'a Ekle." /></a>
    									<a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&amp;amp;t=<?php the_title(); ?>" target="_blank" title="Facebook'da Paylaş.">
    									<img src="<?php bloginfo('template_directory'); ?>/images/facebook.png" alt="Facebook'da Paylaş." id="sharethis-last" /></a>
    									
    								</div>
    							<!-- end Social Sharing Icons -->
    							
    							<!-- Related Posts-->
    							<?php
    $categories = get_the_category($post->ID);
    if ($categories) {
     $category_ids = array();
     foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
    
     $args=array(
     'category__in' => $category_ids,
     'post__not_in' => array($post->ID),
     'showposts'=>5, // Gösterilecek benzer yazı sayısı
     'caller_get_posts'=>1
     );
    
     $my_query = new wp_query($args);
     if( $my_query->have_posts() ) {
     echo '<h3>Konuyla İlgili Benzer Yazılar</h3><ul>';
     while ($my_query->have_posts()) {
     $my_query->the_post();
     ?>
     <li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
     <?php
     }
     echo '</ul>';
     }
    wp_reset_query();
    }
    ?>
    							<!-- end Related Posts-->
    
    <script type='text/javascript'>
    <!--
    ad_client = '0a49a9a3-9806-4029-bbe1-45684c7835f7';
    ad_format = '79';
    ad_width = '125';
    ad_height = '80';
    //-->
    </script><script type='text/javascript' src='http://bumerang.hurriyet.com.tr/show_ads.js'></script>
    							<div id="authorDetails">
    								<?php echo get_avatar( get_the_author_id() , 60 ); ?>
    								<h4>Yazar Hakkında: <a href="<?php the_author_link(); ?>">
    								<?php the_author_firstname(); ?> <?php the_author_lastname(); ?></a></h4>
    								<p><?php the_author_description(); ?></p>
    							</div>
    					
    		</div>
    		<div class="postBoxMidInner">
    		
    		
    		
            <?php comments_template(); ?>
    			</div>
    			</div>
    			<div class="postBoxBottom"></div>
    		</div>
    		<?php endwhile; else: ?>
    
    		<p>Üzgünüm Ama Oğuzhan Aradığınızı Bulamadı! Lütfen Anasayfa Dönmeyi Deneyin.</p>
    
    	<?php endif; ?>
    		
    			</div>
    		<!-- End #colLeft -->
    
    <?php get_sidebar(); ?>	
    
    <?php get_footer(); ?>


    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 22:24:14 -->-> Daha önceki mesaj 21:27:31 --

    Arkadaşlar Olayı Çözdüm.

    Comments.php'de Böyle Bir Kod olması gerekiyor.Bende böyleydi bunu yazınca düzeldi.

    <!-- You can start editing here. --> 
    <div id="fb-root"> <fb:comments xid="site ismi-<?php the_ID(); ?>" num-posts="5" data-width="500" ></fb:comments> </div>