Support » Fixing WordPress » order wp_list_cats

  • Greetings,

    I like to order the categorys like:

    Default
    -subcat1
    -subcat2
    -subcat3

    This wont work: ‘<?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0′); ?>’

    Why not?

    rasmus

Viewing 2 replies - 1 through 2 (of 2 total)
  • hierarchical should be a 1 to get the hierarchy.

    Yeah! Thats it … thx.
    If ur still around:

    How do I get it working like this:

    ‘<?php wp_list_pages(‘exclude=3,8,9,10,11&sort_column=menu_order&title_li=<h2>’ . __(‘Aktiviteter’) . ‘</h2>’ );?>

    the title (here: Aktiviteter)

    ras

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘order wp_list_cats’ is closed to new replies.