Support » Fixing WordPress » wp_list_cats () – format without <ul>

  • Resolved JainaJ


    I’ve upgraded to 2.03 and the way the wp_list_cats() function formats the list of categories has changed. Previously i was able to list all the categories like:

    Category 1 | Category 2 | Category 3 |

    etc. But now, i can’t. Just wondering if i’m missing something here.

    This is what i’ve got as the function arguments:

    <?php wp_list_cats(‘sort_column=name&optioncount=1&list=0’); ?>

    I do NOT want a list, as in unordered list. Just getting the categories to list themselves in lines, with the “|” character separating them.

  • The topic ‘wp_list_cats () – format without <ul>’ is closed to new replies.