WordPress.org

Forums

Displaying categories on a page (3 posts)

  1. guillaumeb
    Member
    Posted 8 years ago #

    Hello,

    I've seen that the categorie display is said to be depreciated fomr this page
    http://codex.wordpress.org/Template_Tags/wp_list_cats

    i'm am simply trying to list my categories on a new page to create a directory. I simply pasted the code inside UL and LI tags

    <?php wp_list_cats(); ?>

    However the categories would not display
    http://insideyahoo.net/inside-yahoo-index/

    Do you have an idea, i've done this before without any trouble

  2. guillaumeb
    Member
    Posted 8 years ago #

    OK so i've gone thru the doc for 2.1 and tried
    <?php wp_list_categories('sortby=name&show_count=0&feed=RSS'); ?>

    But it would not work either

  3. JacksonBoyle
    Member
    Posted 7 years ago #

    I wanted to do the same thing and this worked for me -
    <?php wp_list_categories('orderby=name&show_count=1&hierarchical=0&title_li'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags