Support » Plugins » Recent posts (not including ones listed on front page)

  • Resolved xalcore

    (@xalcore)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you are using get_posts() to get 5 posts in the footer,
    just adding ‘offset=5’ parameter will do.

    Thread Starter xalcore

    (@xalcore)

    Ahh fantastic! Thanks Yoshi!

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

    query_posts(‘showposts=5&offset=3’)

    And it worked perfectly 🙂

    Thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Recent posts (not including ones listed on front page)’ is closed to new replies.