Still no joy I’m afraid. I changed this line:
$cp_categories = get_categories(‘orderby=name&show_count=1&exclude=10’);
(looks like THIS)
With this:
$cp_categories = wp_list_categories(‘orderby=name&show_count=1&exclude=10’);
(Now looks like THIS)
As you can see it now places a hierarchical tree of all the categories at the top which shouldn’t be there.
Cheers,
Craig
Cheers but I’ve already tried that. The code uses get_categories but for instance I’ve tried changing the get_categories statement to get_categories(‘exclude=10’); in order to exclude category ID 10 yet this has no effect.