Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi,

    Found this in codex:
    To get the top level categories only, set parent value to zero.

    Look for this in files three_columns.php and four_columns.php:

    $vskb_cats = get_categories('hide_empty=0&orderby=name&order=asc');

    Change it into:

    $vskb_cats = get_categories('parent=0&hide_empty=0&orderby=name&order=asc');

    Guido

    Plugin Author Guido

    (@guido07111975)

    Will add this in next update.

    Guido

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude child categories only?’ is closed to new replies.