classes.php and wp_list_categories()
-
Hi my name is Leandro i’m Brazilian
when i was trying to use the function wp_list_categories()
i see that return the categories using- elements.
But in this shape <li class=”cat-item cat-item-27″>
returning a class but not an id and one diferent value of class per category.To resolve this problem i change the function start_el() on classes.php
Change the last if on function start_el()
[Code moderated as per the Forum Rules. Please use the pastebin]
Making this changes the out put of functions will be: <li class=”cat-item” id=”cat-item-27″>
this way will be more easerly to use css XD
- elements.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘classes.php and wp_list_categories()’ is closed to new replies.