Categories driving me nuts
-
I’ve been trying to comply with the new tags for days with not much success: I’m using wp_list_categories to display my categories like this:
<?php wp_list_categories('show_count=1&title_li=<h1>Categories</h1>&hide_empty=1' ); ?>
and all I get is this:
<li class="categories"><h1>Categories</h1><ul> <li><a href="https://huitzilop.kicks-ass.net/blog/index.php/category/general/" title="Ver todas las entradas de General">General</a> (14) </li> <li><a href="https://huitzilop.kicks-ass.net/blog/index.php/category/meme/" title="Ver todas las entradas de meme">meme</a> (1) </li> </ul></li>
That is a messy way to display a list of links, not to mention I don’t want the title to be part of the ul. Is there any way I can make this tag show:
<h1>Categorias</h1> <li><a href="https://huitzilop.kicks-ass.net/blog/index.php/category/general/" title="Ver todas las entradas de General">General</a> (14)</li> <li><a href="https://huitzilop.kicks-ass.net/blog/index.php/category/meme/" title="Ver todas las entradas de meme">meme</a> (1)</li> </ul>
because right now the generated markup seems to be really messy and buggy.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Categories driving me nuts’ is closed to new replies.