• Resolved hookedonweb_usa

    (@hookedonweb_usa)


    I want categories to show in the categories section even if no posts are present. Does anyone have a code change for this?

Viewing 1 replies (of 1 total)
  • Thread Starter hookedonweb_usa

    (@hookedonweb_usa)

    Found the answer outside of www.remarpro.com.

    Look for wp_list_categories in the sidebar.php theme file (line 54 in version 2.5.1) and either add hide_empty=0& to the beginning of the line or if it is present change the =1 to =0.\\

    <?php wp_list_categories(‘hide_empty=0&show_count=1&title_li=<h2>Categories</h2>’); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Code change for new categories with no posts to show’ is closed to new replies.