
Slide.php kodları ;
 
     
     
    Lütfen Yönetim Panelinden Slide alanında listemek istediğiniz içerik türünden birini seçiniz (Son Yazıları Göster veya Kategori Yazılarını Göster)
 
     
    
     
    
           
           
           
             
                
          
           
             
           
            
		   $resim = get_post_custom_values("resim");
$resim = $resim[0];
if ($resim) { 
$img = $resim;
} elseif (has_post_thumbnail()) {
$img = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
} else {
$img = get_bloginfo('template_url')."/images/ResimYok.png";
}
?>
             
 
              
         
           
       
       
     
         
                        
         
         
                   
           
           
                  $slidecategory = get_option('srr_slide_category'); 
         $category_id = get_cat_ID( ''.$slidecategory.'' ); 
         ?> 
         query('cat='.$category_id.'&showposts=5'); ?> 
         have_posts()) : $SlidePosts->the_post(); $a++; ?>   
             
           
          
           
                  $slidecategory = get_option('srr_slide_category'); 
         $category_id = get_cat_ID( ''.$slidecategory.'' ); 
         ?> 
         query('cat='.$category_id.'&showposts=5'); ?> 
         have_posts()) : $SlidePosts->the_post(); $a++; ?>   
             
			$resim = get_post_custom_values("resim");
$resim = $resim[0];
if ($resim) { 
$img = $resim;
} elseif (has_post_thumbnail()) {
$img = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
} else {
$img = get_bloginfo('template_url')."/images/ResimYok.png";
}
?>
             
 
              
         
         
       
         
  

 
                    
