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

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -