My menubar is horizontal and it only shows the parent categories. This works without a problem
I have changed in the header.php
<?php wp_list_cats('children=0'); ?>
What i want now is, if i klick on a parent category, a new
navigation should show up, only with the children categories of the choosen parent category.
I have tried on top of the index.php
<?php wp_list_cats('child_of=$cat'); ?>
If i type child_of=8, it works. the children categories
of 8 are coming.
Event testing with echo "$cat" i can see, that $cat is changing after each klick.
But with child_of=$cat nothing is coming