Classipress: Fix Hidden Categories And Overlap
In this tutorial i will show you how to show the hidden categories and then fix the overlap created by showing the hidden categories if you have more than one row of categories.
The only file you need to open will be the “index.php” file in your Classipress folder.
Step 1
Has you can see the theme will hide any categories that have now published post inside them.
Open your “index.php” file and go to about line11 and you should see this.
Step 2
Now we need to tell the category tag we want to show all categories even if they have no published posts in them. We do this by changing
<?php wp_list_categories('show_count=0&hide_empty=true&orderby=name&order=asc&title_li='); ?>
To This!
<?php wp_list_categories('show_count=0&hide_empty=0&orderby=name&order=asc&title_li='); ?>
All we did is change the hide empty tag from “false” to “0″.

After you complete this go to your index page and you should see all your categories like so…
Step 3
Like you see in the screenshot above the catagories run down into the actuall post div container. Well this is ugly so good thing its an easy fix. Go to line 14 of your “index.php” file once more and add this code
<div class="clear"></div>
So now your completed code should look like this.
And if you look at your theme it should now look more like this.






/rating_on.png)
