• Hi, my code for my categories to display is as follows:

    <h4>Categories</h4>
    				<ul>
    					<li><?php wp_list_categories('title_li=&show_count=1'); ?></li>
    				</ul>

    when it outputs it ends up like this:

    <h4>Categories</h4>
    <ul>
    <li> </li>
    <li class="cat-item cat-item-7">
    </li>
    <li class="cat-item cat-item-10">
    </li>
    <li class="cat-item cat-item-1">
    </li>
    <li class="cat-item cat-item-9">
    </li>
    <li class="cat-item cat-item-8">
    </li>
    </ul>

    how do I make it not have a blank li tag?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘category listing problem’ is closed to new replies.