How to display All Categories in the main page

It can be changed within index.php using the theme editor in the dashboard. You just have to search for the following codes;

wp_list_categories('show_count=0&title_li=&depth=1');

and add the “hide_empty” parameter to the list. Just put after depth=1 the &hide_empty=0

To make it look like this;

wp_list_categories('show_count=0&title_li=&depth=1&hide_empty=0');

This entry was posted in Plugins and Mods and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word