WordPress.org

Support

Support » How-To and Troubleshooting » Avoid to display sub categories with WP 2.1

Avoid to display sub categories with WP 2.1

  • Hi, since I upgrade to WP 2.1 I can’t succed on displaying only parent categories (even them with children)

    In WP 2.0.7 I use to ise the template tag wp_list_cats with the argument children set to 0
    But now that this template tag is depreciated it seems that it doesn’t work.
    I’ve red the code of the new template tag wp_list_categories, but I can’t find the argument ‘children’

    Any suggestions ? Thanks.

Viewing 15 replies - 1 through 15 (of 19 total)
Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Avoid to display sub categories with WP 2.1’ is closed to new replies.
Skip to toolbar