WordPress.org

Ready to get started?Download WordPress

Forums

Parents and Child Categories How to? (3 posts)

  1. pab1953
    Member
    Posted 8 years ago #

    Hello,

    A WP newbie, I've just read through a slew of old posts about ordering categories. None seemed to address my problem. Here's the problem.

    I want to order parent and child categories this way (which seems logical):

    FLOWERS
    Daisies
    Petunias
    Roses

    FRUIT
    Apples
    Bananas
    Oranges

    VEGGIES
    Carrots
    Lettuce
    Squash

    But instead, it comes out this way:

    Apples
    Bananas
    Carrots
    Daisies
    FLOWERS
    FRUIT
    Lettuce
    Oranges
    Petunias
    Roses
    Squash
    VEGGIES

    Any ideas?

    Thanks!

  2. maerk
    Member
    Posted 8 years ago #

    If I'm reading your post right, you're asking how to set some cats as children of others?

    If you go to Manage > Categories in the WP admin area, you can edit whatever category to take another as a parent.

    The options are:

    Category name: |________________|
    Category slug: |________________|
    Category parent: |______________|V|

    Where the last one is a drop down.

  3. moshu
    Member
    Posted 8 years ago #

    It would also be beneficial if you
    a) provide a link
    b) at least tell which theme is active

    Categories can be displayed in the sidebar by using several template tags and their parameters.
    Just read and find the right one(s):
    http://codex.wordpress.org/Template_Tags#Category_tags

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags