muharrem54
Üye
- Mesajlar
- 1
günaydın arkadaşlar
allah razı olsun yardım etmeye çalışıyorsunuz. sorun hayla çözülmedi ö.m ile site linkini yolluyorum.
Yalnız Şöyle Birşey Farkettim. sadece ana sayfadaki sayfalar çalışmıyor.
bir kategoriye girdim diyelim 2 3 4. sayfalara tıklayınca açılıyor :S
yardım edebilecek bir arkadaş yokmu ya :S
bakın
index php deki kodlar
archive php de bulunan kodlar
ARŞİVLERDEKİ SAYFALAR EKLENTİSİ GAYET GÜZEL ÇALIŞIYOR 1 2 3 4 5 SAYFA GİRİLİYOR YANİ.
index php dekine tıklayınca sayfa görüntülenemiyor :S
allah razı olsun yardım etmeye çalışıyorsunuz. sorun hayla çözülmedi ö.m ile site linkini yolluyorum.
Yalnız Şöyle Birşey Farkettim. sadece ana sayfadaki sayfalar çalışmıyor.
bir kategoriye girdim diyelim 2 3 4. sayfalara tıklayınca açılıyor :S
yardım edebilecek bir arkadaş yokmu ya :S
bakın
index php deki kodlar
Kod:
<?php get_header(); ?>
<div id="content">
<?php
$postct = get_option('dion_postnum');
$args=array('post_type' => 'videos','post_status'=> 'publish','posts_per_page' =>$postct,'caller_get_posts' =>1,'paged' =>$paged,);
query_posts($args);
if (have_posts()) : while (have_posts()) : the_post();
?>
<div class="box rounded <?php if (++$counter % 4 == 0) { echo "lastbox"; }?>" id="post-<?php the_ID(); ?>">
<div class="postcover">
<?php $trailer = get_post_meta($post->ID, 'trailer_value', $single = true) ?>
<?php $poster = get_post_meta($post->ID, 'poster_value', $single = true) ?>
<a rel="nofollow" href="<?php the_permalink() ?>"rel="bookmark" title="Film İsmi : <?php the_title(); ?>" ><img class="poster" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $poster; ?>&h=270&w=200&zc=1" alt=""/></a>
</div>
<div class="boxtitle">
<h4><a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h4>
</div>
</div>
<?php endwhile; ?>
<div class="clear"></div>
<div id="navigation">
<?php
if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
?>
</div>
<?php wp_reset_query();?>
<?php else : ?>
<div class="title"><h2>Oops.. Nothing Found !</h2></div>
<div class="cover"> <p>I think what you are looking for is not here or it has been moved. Please try a different search..</p> </div>
<?php endif; ?>
</div>
<?php get_footer(); ?>
archive php de bulunan kodlar
Kod:
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<h2 class='pagetitle'>
<?php echo ('Bulunduğunuz Kategori : '. $term . ' Kategorisi') ?>
</h2>
<?php while (have_posts()) : the_post(); ?>
<div class="box rounded <?php if (++$counter % 4 == 0) { echo "lastbox"; }?>" id="post-<?php the_ID(); ?>">
<div class="postcover">
<?php $trailer = get_post_meta($post->ID, 'trailer_value', $single = true) ?>
<?php $poster = get_post_meta($post->ID, 'poster_value', $single = true) ?>
<a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Filmin Adı : <?php the_title(); ?>" ><img class="poster_value" src="<?php echo $poster; ?>" width="200" height="300" alt="<?php the_title(); ?>"/></a>
</div>
<div class="boxtitle">
<h2><a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
</div>
</div>
<?php endwhile; ?>
<div class="clear"></div>
<div id="navigation">
<?php
if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
?>
</div>
<?php wp_reset_query();?>
<?php else : ?>
<div class="title"><h2>Oops.. Nothing Found !</h2></div>
<div class="cover"> <p>I think what you are looking for is not here or it has been moved. Please try a different search..</p> </div>
<?php endif; ?>
</div>
<?php get_footer(); ?>
ARŞİVLERDEKİ SAYFALAR EKLENTİSİ GAYET GÜZEL ÇALIŞIYOR 1 2 3 4 5 SAYFA GİRİLİYOR YANİ.
index php dekine tıklayınca sayfa görüntülenemiyor :S