WordPress.org

Support

Support » Themes and Templates » Splitting Categorys

Splitting Categorys

  • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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. 🙂

    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?

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

    I don’t follow..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Splitting Categorys’ is closed to new replies.