Hi,
I've a little problem with next/previous link... i've always same post for my index !
I 'use old deluxe theme, and i've this code :
<?php if(get_option('dl_home_con') != 'Pages') : ?>
<?php $featured = new WP_Query('cat='.get_cat_id(get_option('dl_featured_cat')).'&showposts='.get_option('dl_featured_items')); ?>
<?php $i=1; while ($featured->have_posts()) : $featured->the_post(); ?>
<?php if($i%2==0) : add_filter('post_class','ts_post_class_alt'); endif; ?>
<div <?php post_class(); ?>>
<?php if((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) : ?>
<div class="post-image"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_post_thumbnail('dl-thumb', array('alt' => ''.get_the_title().'', 'title' => ''.get_the_title().'')); ?><span class="overlay2"><img src="<?php bloginfo('template_url'); ?>/img/overlay2.png" alt="<?php the_title(); ?>" width="280" height="160"/></span></a></div>
<?php elseif(get_post_meta($post->ID, 'image_value', true)) : ?>
<div class="post-image"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_url'); ?>/lib/scripts/thumb.php?src=<?php echo ts_image(get_post_meta($post->ID, "image_value", true)); ?>&w=260&h=140&zc=1&q=95" alt="<?php the_title(); ?>" width="260" height="140"/><span class="overlay2"><img src="<?php bloginfo('template_url'); ?>/img/overlay2.png" alt="<?php the_title(); ?>" width="280" height="160"/></span></a></div>
<?php endif; // endif post thumbnail ?>
<h3><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<?php the_content('',TRUE); ?>
<?php the_more(); ?>
</div><!-- end post -->
Can u help me to fix it ?
Thank by advance !