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 Classipress, Plugins and Mods and tagged . Bookmark the permalink.

3 Responses to How to display All Categories in the main page

  1. Douglas says:

    How to display All Categories in the main page
    This is what I want to do but the index php is empty

  2. admin says:

    You need to edit it on your PC as the right index.php file will not be displayed in the WP admin editor.

  3. Tony says:

    HiThanks for your reply about the category icons. I know what to do now The other thing i nwated to ask was about the category navigation hack. if you visit my site, you can see that the category showing in the nav bar. The only problem im facing tough is when click for instance table tennis news it also shows items from another category. In other words how do i make each categories to show only specific posts ?Thanks PaulPs: what do you think of my site so far ?

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>