Not without hacking the core, as far as I’m aware. Why do you want to suppress the default list markup? It might be easier (and more accessible) if you simply re-styled the default list using CSS.
Cheers. I guess I was just trying to make things difficult for myself.
Now using:
<?php wp_list_categories('title_li='); ?>
to suppress the unwanted title LI element and styled the list accordingly.
Thanks again.
I have the same problem. And NOTHING is solved here.
I know how to get rid of
<?php
$cats = wp_list_categories('orderby=name&title_li=0&style=none');
$cats = strip_tags($cats,"<br /><br />");
echo $cats;
?>
i have tryd str_replace and nothing? wtf please help me.
Use this instead…
<?php
$listcats = wp_list_categories('title_li=&style=none&echo=0&orderby=name');
$listcats = str_replace("<br />","",$listcats);
echo $listcats;
?>
Be sure to remove the amp; bits from the code… (FORUM STILL ADDING THEM – YES I’M LOOKING AT YOU …AGAIN.. MODS… hehe)