Support » Fixing WordPress » Categories not showing on site.

Viewing 1 replies (of 1 total)
  • I’m guessing that the sidebar template has code to not show categories with no posts.
    The default theme has <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    So to show categories without posts add &hide_empty=0
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0&hide_empty=0'); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Categories not showing on site.’ is closed to new replies.