Sunday, April 26, 2009

Show all posts in a category in the Archives page

Dump this code in the Archives template before the loop.
<?php
global $wp_query;
  query_posts(
    array_merge(
    array('showposts' => -1),
    array('offset'=>1),
    $wp_query->query
  )
);
?>

No comments :

Post a Comment