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
Post a Comment