php - Wordpress : Excluding last post from loop breaks navigation -


i trying simple here : trying exclude last post loop in theme's index.php file.

everything working fine except when click on links in page, browser shows homepage.

here's code loop :

<?php query_posts('offset=1'); ?> <?php while (have_posts()) : the_post(); ?>     <h2>         <a href="<?php the_permalink(); ?>">             <?php the_title() ?>         </a>     </h2> <?php endwhile; ?> 

can me fix this?

thanks!


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -