[resolved] Recent posts (not including ones listed on front page) (3 posts)

  1. xalcore
    Posted 8 years ago #

    I've set up my blog to show 3 posts on the front page. In my footer (It fits in better with my design than having it listed on the sidebar, but still works) I have it set to show the 5 most recent posts.

    If we were to count the first 3 listed as 1-3, then at the bottom it re-lists just the titles of 1-3 and then also adds post 4 and 5.

    Is there any way to have the recent posts listed as 4-8?

    Just to clarify (incase that doesn't make any sense) I want 3 posts shown on the front page and then in the recent posts a list of the NEXT 5 posts, rather than the latest posts which include the 3 shown on the front page.

    Does anyone know if this is possible? Either through code or through a plugin/widget?

  2. yoshi
    Posted 8 years ago #

    If you are using get_posts() to get 5 posts in the footer,
    just adding 'offset=5' parameter will do.

  3. xalcore
    Posted 8 years ago #

    Ahh fantastic! Thanks Yoshi!

    I was using query_posts() but it worked perfectly - I just did;


    And it worked perfectly :)

    Thanks! :)

Topic Closed

This topic has been closed to new replies.

About this Topic