WordPress.org

Ready to get started?Download WordPress

Forums

Inexplicable wrapping (2 posts)

  1. CallMeAndy
    Member
    Posted 1 year ago #

    I have a problem with the string being returned from wp_list_categories in that the count values are being wrapped to the next line (((2) for Africa) for instance). The string itself does not appear to be wrong (well not in that respect anyway) the extract below is actual page output and there isnt an offending
    or anything of that sort - anu other ideas?

    <a href="http://localhost/blog/localities/africa" title="View all posts filed under Africa">Africa</a> (2)
    <ul class='children'>
    	<li class="cat-item cat-item-143"><a href="http://localhost/blog/localities/tanzania/" title="View all posts filed under Tanzania">Tanzania</a> (1)
    </li>
    	<li class="cat-item cat-item-147"><a href="http://localhost/blog/localities/zambia/" title="View all posts filed under Zambia">Zambia</a> (1)
    </li>
    </ul>
  2. CallMeAndy
    Member
    Posted 1 year ago #

    It seems it might be the mega menu causing the trouble. I am using the returned value from wp_list_categories in a shortcode in the text widget.
    If I do the same thing in any other widget area it outputs without wrapping.

    Anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.