• Resolved Info Man

    (@iwanuswak)


    edit:

    wp-includes/default-widgets.php

    change this:
    <?php
    $cat_args[‘title_li’] = ”;
    wp_list_categories(apply_filters(‘widget_categories_args’, $cat_args));
    ?>

    to this:
    <?php
    $cat_args[‘title_li’] = ”;
    $cat_args[‘hide_empty’] = 0;
    wp_list_categories(apply_filters(‘widget_categories_args’, $cat_args));
    ?>

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to show empty categories on the default category widget’ is closed to new replies.