• 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="https://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="https://localhost/blog/localities/tanzania/" title="View all posts filed under Tanzania">Tanzania</a> (1)
    </li>
    	<li class="cat-item cat-item-147"><a href="https://localhost/blog/localities/zambia/" title="View all posts filed under Zambia">Zambia</a> (1)
    </li>
    </ul>
Viewing 1 replies (of 1 total)
  • Thread Starter CallMeAndy

    (@callmeandy)

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Inexplicable wrapping’ is closed to new replies.