• 06-07-2010, 15:30:26
    #1
    Öncelikle şimdiden yardımlarınız için teşekkür ediyorum.
    www.dizifilmm.com
    Bu dizi sitesini açtım ve biraz değişiklik yapmak istedim. İlk yapmaya çalıştığım 'Onceki Videolar' yazan yerde en çok izlenen videoları gösterebilmek. Bi' kaç gündür araştırıyorum ama bulamadım. Yanlış şeyi arıyo da olabilirim.
    Bi konuda Sayfa Sayaç eklentisiyle olabildiği yazmış ama açıkçası beceremedim
    Tema bileşen kabul etmediği içinde sağ tarafa Sayfa Sayaç eklentisini koyamadım.
  • 06-07-2010, 15:51:35
    #2
    ⭐ EN UCUZ CHATGPT 5.5⚡
    Wp-Postviews İşinizi Görecektir..
  • 06-07-2010, 17:07:27
    #3
    Eklenti yüklü olduğu için hemen kurcalamaya başladım ama ne yaptıysam resimleriyle beraber gösteremedim. Değiştirilmesi gereken bölüm bu
    <div class="randomposts">
    			
    				<h2 class="featured">Onceki Videolar</h2>
    				
    				<div class="featuredleft">
    				<?php $recent = new WP_Query("cat=<? echo $tg_featured_post; ?>&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
    					<div class="fposts">
    						<div class="fpostimage">
    							<a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>" width="220" height="164" alt="<?php the_title_attribute(); ?>" /></a>
    						</div>
    						<div class="postinfo">
    							<a style="font-size:14px;font-weight:bold;" href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php $tit = the_title('','',FALSE); echo substr($tit, 0, 40); if (strlen($tit) > 40) echo " ..."; ?></a>
    						</div>
    						<div class="postviews">
    							<?php echo time_ago(); ?>  
    						</div>
    						<div class="postviews">
    							<?php if(function_exists('the_views')) { the_views(); } ?>  
    						</div>
    					</div>
    				<?php endwhile; ?>