WordPress.org

Ready to get started?Download WordPress

Forums

K2: Rolling Archives Offset (4 posts)

  1. donjz
    Member
    Posted 8 years ago #

    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.

    Thanks.

  2. Samuel B
    moderator
    Posted 8 years ago #

    This forum doesn't really support K2. Did you check their forums?

  3. lonetrotter
    Member
    Posted 7 years ago #

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

  4. vkaryl
    Member
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic