By robert ngo on
Hi,
Please someone here explain me if there is anyway to add class to < li > item when we use
print ($items=array(), $title=NULL, $type= 'ul', $attributes=array("class" => "myclass"));
then it generates the markup :
<ul class="myclass">
<li></li>
<li></li>
</ul >
But I need it to be
<li class="abc"></li>
Can we do that? And how can we do that?
Thanks in advance,
Comments
Solution for D6
This will output as
Khurram Fraz