• im trying to only show 1 specific news post category by doing this before The Loop:

    query_posts(‘cat=4’);

    but unfortunately it is still showing all of the categories

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter joebiz

    (@joebiz)

    im using the Blix theme

    Thread Starter joebiz

    (@joebiz)

    nevermind it was just a bug in my own code

    what did you do to get it to work?? are your previous and next post links still working?? I am trying to do the same but cannot get my previous and next posts links to function properly… I am getting a 404 error… what did you do to get it to work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘query_posts() for showing only 1 category’ is closed to new replies.