• In the sidebar, categories are listed even though they have no posts in them. I would like to suppress this.

    My sidebar code has:
    <?php wp_list_cats(‘sort_column=name&hide_empty=0’); ?>

    Ooops! I just recognized a binary… This is fixed!

    <?php wp_list_cats(‘sort_column=name&hide_empty=1’); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The fastest resolution in the history of the WP forum?

    This is not working for me. I changed the binary to a ‘1’ and have triple checked the file <sidebar.php>, but the categories are still showing up.
    Of course, all the empty categories bring back a 404 when clicked, but they are not supposed to show.
    Any help? Thanks in advance.

    Problem solved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Supress categories without posts – change hide_empty to =1’ is closed to new replies.