WordPress.org

Forums

Splitting Categorys (5 posts)

  1. Vladimir Simovic
    Member
    Posted 10 years ago #

    Hi,
    is't possible to splitt the Category-links in the Navigation, example:
    now it's:
    Categorys:
    *Category 1
    *Category 2
    *Category 3
    *Category 4
    *Category 5
    i would like to have it like this:
    Webwork-Category
    *Category 2
    *Category 3
    *Category 5
    Other Stuff:
    *Category 1
    *Category 4
    I try it with:
    Webwork-Category
    wp_list_cats('exclude=1,4')
    Other Stuff:
    wp_list_cats('exclude=2,3,5')
    But WP is accepting only once the wp_list_cats-instruction. Is there another way to realise this?
    Sorry for my bad englisch *shameon*
    Perun

  2. Mark McKibben
    Member
    Posted 10 years ago #

    If WP only lets you use wp_list_cats then maybe you could create a seperate PHP file to generate your individual menus and use includes to pull that into your page (not sure if this would work, just throwing the idea out there) or the easier way to get something that looks like that would be to set up Webwork as a parent category with Categories 2, 3 & 5 being subcategories under it.
    And don't worry about your English, I wouldn't have even been able to being to ask your question in German with what I can remember from my classes back in high school. :)

  3. Arlo
    Member
    Posted 10 years ago #

    I'm having this identical problem. I want to divide my categories between separate headings, but the exclusions for the first occurrence of list_cats causes the second list_cats to return no categories. Ideas?

  4. Jinsan
    Member
    Posted 10 years ago #

    you could use the cat id to designate a link to that category couldn't you within the menu?

  5. Arlo
    Member
    Posted 10 years ago #

    I don't follow..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.