Support » Fixing WordPress » Displaying multiple categories?

  • I was wondering since I have 5 categories how I would display categories 1-4 and not the fifth one a user views my weblog?

Viewing 3 replies - 1 through 3 (of 3 total)
  • put $cat = ‘-5’; before the includes in your template

    well, that works but not for what I plan on doing. Sorry should’ve been more descriptive. I wanted to have 2 columns of news, cat 5 being on the left side and the rest of the cats being on the right side. Like, on my left side would be my weblog and my right side would be my weird news/articles/updates I find




    The quick-and-dirty solution would be to include conditional logic to check the category for each post served in The_Loop. Create two divs, one for the left and one for the right (see for help, if you need it). Then have your conditional logic output the post with the proper div (cat5 = leftdiv, everything else = rightdiv).
    See here for a more complicated suggestion:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying multiple categories?’ is closed to new replies.