Wordpress Categories Help Needed.

Discussion in 'WordPress' started by Malmsteen, May 24, 2008.

  1. #1
    As default Wordpress will have like one group of categories, that I can drag and place somewhere on my blog with the category widget.

    Now I really need to have at least one more category group like this that is separated from the first category group.

    I have noticed that I can show up to 9 category widgets in my wordpress presentation location, but I have never understood this... Since if I drag and place more category widgets inside my blog, they will all display the same links…?

    So people please help me!
    Thanks a lot!
     
    Malmsteen, May 24, 2008 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Use this tag to show only certain categories in the listing:

    <?php wp_list_categories('orderby=name&include=1,7'); ?>
    Code (markup):
    where the "1" and "7" are the IDs of the categores you want in this particular list. All others will be ommitted.
     
    mizaks, May 24, 2008 IP
  3. Malmsteen

    Malmsteen Peon

    Messages:
    970
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks now I understand it more. But where do I put this piece of code? I tried just adding it into a text widget in the presentation>widgets section but that didnt work, and I cant add anything to the category widgets there. So where do I put it!? Please help, Im so close to solving this now.
     
    Malmsteen, May 24, 2008 IP
  4. Houdy

    Houdy Peon

    Messages:
    267
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Houdy, May 24, 2008 IP