WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] certain catogories in another box then "catogories" (4 posts)

  1. Z500
    Member
    Posted 7 years ago #

    Hello everyone,

    I don't know very good how to explain, so I don't know were to look for.

    You know there is a box named categories, were al the categories will appear like "cars" "vacation" etc.

    Now I want a few of those categories, in another box, with another name, how do I do this?

    Thanks in advance...

  2. BPartch
    Member
    Posted 7 years ago #

    Hello

    This will display all categories sorted by name with the post count displayed, no sub categories:

    <?php wp_list_cats('sort_column=name&optioncount=1&children=0&exclude=');?>

    If you add category ID numbers to the &exclude part like this: &exclude=1, 2, 3, 4 it will eliminate those categories from displaying.

    Hope it helps :)

  3. Z500
    Member
    Posted 7 years ago #

    Oké, and how do I add those removed categories, to another box?

  4. Z500
    Member
    Posted 7 years ago #

    Because I can't explain it very well, here's a image that will give a better look at it.

    http://www.cousins.budly.com/wp-content/uploads/2006/08/hwoto.JPG

Topic Closed

This topic has been closed to new replies.

About this Topic