Support » Themes and Templates » K2: Rolling Archives Offset

  • I wanted to show only one post on the main page by using the query_posts(‘showposts=1’) function. This worked.

    However, the rolling archives does not read this and instead reads the WP-Admin setting of the number of posts displayed and offsets its display based on that. So, If there are 10 posts indicated in the options/reading panel, the rolling archives starts on the 11th post.

    I need to have the rolling archives start on the 2nd post.

    How do I do this? I have tinkered with the rollingarchives.php’s get_posts(‘offset=’.$paged) and changed it to get_posts(‘offset=1’) but it broke the entire code.

    If I set the number of posts on the admin panel to 1, this changes how the results of the search or archive.php are displayed, giving only one post.

    Help please.


Viewing 3 replies - 1 through 3 (of 3 total)
  • This forum doesn’t really support K2. Did you check their forums?

    Why is this forum not supporting K2? Its just a theme man.

    Originally, k2 was more of a “fork” of wp, with a lot of stuff in it that seemed to change the way some of the main parts of wp wanted to work. That’s apparently no longer as much the case.

    I wouldn’t use it myself, so can’t help with it…. rather like I wouldn’t use kubrick so can’t help with it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘K2: Rolling Archives Offset’ is closed to new replies.