I believe you want wp_list_categories ()
. With a short set of arguments you should be able to get the results you want, including excluding “uncategorized”. Something like:
$args = array(
'exclude' => 1,
);
wp_list_categories( $args );
I believe you want wp_list_categories ()
. With a short set of arguments you should be able to get the results you want, including excluding “uncategorized”. Something like:
$args = array(
'exclude' => 1,
);
wp_list_categories( $args );