I am using a theme that relies on wp_list_cats. I believe that it was replaced with wp_list_categories with the new update, but when I change it, the menu is not perfectly aligned. Is it a must to change it? If the old wp_list_cats works fine, is it ok to keep it or are there any specific issues with it?
Finally, I do have one problem that doesn’t seem to get resolved when I use wp_list_cats or wp_list_categories for that matter.
At the end of my menu code, I have a stupid
<ul>out of nowhere… which prevents my website from validating.
This is how my list starts:
<div class="box"> <h3>Categories</h3> <ul> <li class="cat-item cat-item-20"><a href="http://www.thediamondbuyingguide.ca/category/diamond-buying-guide-in-4-easy-steps/" title="View all posts filed under Diamond Buying Guide in 4 easy steps">Diamond Buying Guide in 4 easy steps</a> </li>
and then after all the menu items are inserted, this is how it ends:
<li class="cat-item cat-item-11"><a href="http://www.thediamondbuyingguide.ca/category/precious-metals/yellow-gold/" title="View all posts filed under Yellow Gold">Yellow Gold</a> </li> </ul> </li> <ul> </div>
the last ul and /div don’t seem to belong there… Any idea if I can find the code for wp_list_cats somewhere and edit it manually?
- The topic ‘wp_list_cats ?’ is closed to new replies.