WordPress.org

Ready to get started?Download WordPress

Forums

How to display categories even if no entries (2 posts)

  1. eetdcob
    Member
    Posted 9 years ago #

    I would like to have all categories show in the sidebar, even if no one has used them yet. Right now only categories with entries show. Haven't found a control for this in the admin interface. Couldn't pin it down in Codex. Is what I want actually a feature?

    Thank you.

    (WP 1.5)

  2. fredrik
    Member
    Posted 9 years ago #

    http://codex.wordpress.org/Template_Tags/wp_list_cats

    Have a look at the "all" and "opttionall" options. Should be an easy fix.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.