WordPress.org

Forums

[resolved] Next and previous buttons dont work (3 posts)

  1. gashface
    Member
    Posted 3 years ago #

    I am trying to create a blog on a seperate page of my site. for example I have a page called blog. and then a category for all the blogposts I want to display there, but when I click the next/previous buttons it simply just displays the same posts. I think it's because it's trying to locate the posts through the page rather than the category. Though it is also not working on the blog's category either.

    Any help appreciated thanks!

    [code moderated - please follow http://codex.wordpress.org/Forum_Welcome#Posting_Code when posting code]

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    try:

    query_posts('cat=6&paged='.get_query_var('paged'));
  3. gashface
    Member
    Posted 3 years ago #

    thankyou!

Topic Closed

This topic has been closed to new replies.

About this Topic