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 -

c# - Can I intercept a SOAP response in .NET before a content type binding mismatch ProtocolException? -

css - Can I use the :after pseudo-element on an input field? -