Pagenavi não muda de página
-
Ao clicar em Página Seguinte, o link da página muda, mas a pagina continua igual à anterior.
<?php get_header(); ?> <?php if(!is_paged()) { ?> <div id="top" class="clearfloat"> <div id="headline"> <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/headline.png" width="75px" height="21px" alt="Novidade" /> <?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=-23,-24&paged=$page&showposts=1"); ?> <?php while (have_posts()) : the_post(); ?> <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('0 Comentários', '1 Comentário', '% Comentários');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> <?php $values = get_post_custom_values("Novidade");?> <div class="left"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail(array( 300, 275 )); ?></a></div> <?php the_excerpt(); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Link para <?php the_title(); ?>">Continuar a ler »</a> <?php endwhile; ?> </div> <?php get_sidebar(); ?> <?php } ?> <div id="bottom" class="clearfloat"> <div id="front-list"> <?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=-23,-24&paged=$page&posts_per_page=9&offset=1"); ?> <?php while (have_posts()) : the_post(); ?> <div class="clearfloat"> <div class="spoiler"> <div class="left"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('thumbnail'); ?></a></div> <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> <?php the_excerpt(); ?> <div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('0 Comentários', '1 Comentário', '% Comentários');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div> </div> </div> <?php endwhile; ?> <div class="navigation"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?> <div class="right"><?php next_posts_link('Próxima Página »') ?></div> <div class="left"><?php previous_posts_link('« Página Anterior') ?></div> <?php } ?> </div> </div> </div> <?php get_footer(); ?>PS: Já vi como resolver o problema, mas não consigo colocar o offset na 1ªpágina.
O tópico ‘Pagenavi não muda de página’ está fechado a novas respostas.