Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

On this page, I have a stray bullet at the right of the side search jobs navigation? Why is this? It may that I am missing something simple. I just have been at for awhile. http://shs.merms.info/2010/12/30/shs-team-celebrates-successful-quarter/

<ul>
    <li><?php wp_list_categories('title_li=<strong>Categories</strong><br />'); ?></li>
</ul>
share|improve this question
add comment

1 Answer

wp_list_categories() starts its output with a <li>, so you don't have to write it yourself. What you get (check your source code) is:

<ul>
    <li>
    <li class="categories"><strong>Categories</strong>
        <ul>
            <li class="cat-item cat-item-6"><a href="http://shs.merms.info/category/article/" title="View all posts filed under Article">Article</a></li> 
            <li class="cat-item cat-item-3"><a href="http://shs.merms.info/category/awards/" title="View all posts filed under Awards">Awards</a></li>
            <!-- More items -->
        </ul>
    </li>
    </li>
</ul>

<li><li> is invalid and gets converted to <li></li><li>, giving you an extra bullet. You should remove the <li>...</li> around your call to wp_list_categories().

share|improve this answer
    
Thank you very much. –  user2266 Jan 16 '11 at 4:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.