ceyede adlı üyeden alıntı: mesajı görüntüle
hocam bu yardim icin cok tesekkurler ancak kucuk bi sorunum olustu sanirim bi tek benim sitede olur bu bu kodlari archive,index,page ve search.php ye uyguladim

yabanci diziler de super bi sekilde calisti ve oldu ancak yerli dizilerde

Fatal error: Call to undefined function resimsec() in /home/cihanyas/public_html/dizialemi.net/wp-content/themes/dizifilm/archive.php on line 38

seklinde hata olustu (hata satiri benim sizin verdiginiz kodlari koydugum yer )

www.dizialemi.net sitemin adresi burasi icin thema yi uyarlamaya calisiyorum bi yardiminiz yada fiktiniz olursa tesekkur ederim iyi calismalar
archive.php alttaki kodlarlar değişin bu şekilde çalışması lazım


<?php get_header();?>

<div class="post">

<ul>
<li>
<div class="title">
<?php if (have_posts()) : ?>

       <?php $post = $posts[0]; // Hack. $post değişkenini ata ki the_date() çalışsın. ?>
       <?php /* Kategori arşivi ise */ if (is_category()) { ?>
        <h2>‘<?php single_cat_title(); ?>’ kategorisi için Arşiv</h2>
       <?php /* Etiket arşivi ise */ } elseif( is_tag() ) { ?>
        <h2>‘<?php single_tag_title(); ?>’ olarak etiketlenmiş dizi ve filmler</h2>
       <?php /* Günlük arşiv ise */ } elseif (is_day()) { ?>
        <h2><?php the_time('d F Y'); ?> için Arşiv</h2>
       <?php /* Aylık arşiv ise */ } elseif (is_month()) { ?>
        <h2><?php the_time('F Y'); ?> için Arşiv</h2>
       <?php /* Yıllık arşiv ise */ } elseif (is_year()) { ?>
        <h2><?php the_time('Y'); ?> için Arşiv</h2>
      <?php /* Yazar arşivi ise */ } elseif (is_author()) { ?>
        <h2>Yazar Arşivi</h2>
       <?php /* Sayfalanmış bir arşiv ise */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
        <h2>Blog Arşivi</h2>
       <?php } ?>
</div>
<div class="clear"></div>
</li>

<?php while (have_posts()) : the_post(); ?>
<li>
<div class="img"><?php if ( get_post_meta($post->ID, 'resim', true) ) : ?>
<?php $image = get_post_meta($post->ID, 'resim', true); ?>
<div class="img"><a href="<?php the_permalink() ?>"><img width="113" height="113" src="<?php echo $image; ?>" alt="<?php the_title() ?>" title="<?php the_title() ?>" /></a></div>
<?php else: ?>
<div class="img"><a href="<?php the_permalink() ?>"><img width="113" height="113" src="<?php bloginfo('template_directory'); ?>/images/blank.jpg" title="<?php the_title() ?>" alt="<?php the_title() ?>" /></a></div>
<?php endif; ?></div>
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
<div class="tags"><?php the_tags('<b>Etiketler:</b> ', ', ', '<br />'); ?></div>
<div class="clear"></div>
<div class="info">
<span class="comment"><?php comments_popup_link('<strong>Yorum</strong> Yok', '<strong>1</strong> Yorum', '<strong>%</strong> Yorum'); ?></span>
<span class="count"><strong><?php if(function_exists('the_views')) { the_views(); } ?></strong> izlenme</span>
<span class="calendar"><strong><?php the_time('j F Y') ?></strong></span>
</div>
<div class="clear"></div>
</li>
<?php endwhile; ?>        

<div class="title">        
    <?php else :
    
        if ( is_category() ) { // Kategori arşivi ise
            printf("<h2>Üzgünüz, %s kategorisinde henüz dizi/film yok.</h2>", single_cat_title('',false));
        } else if ( is_date() ) { // Tarih arşivi ise
            echo("<h2>Üzgünüz, bu tarihte dizi/film yok.</h2>");
        } else if ( is_author() ) { // Yazar arşivi ise
            $userdata = get_userdatabylogin(get_query_var('author_name'));
            printf("<h2>Üzgünüz, henüz %s tarafından yazılmış herhangi bir dizi/film yok.</h2>", $userdata->display_name);
        } else {
            echo("<h2>Herhangi bir dizi/film bulunamadı.</h2>");
        }

    endif;
?>
</div>

</ul>
</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>