Thread: WP Quirks?
View Single Post
Old 2008-04-09, 03:28 PM   #3
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Quote:
Originally Posted by ronnie View Post
Also does any one know how to call up WP categories but only those that have current posts? The code I use now brings up all categories whether they have posts or not.
Here's the code your looking for:
Code:
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=1'); ?>
As far as your tag problem, you know that limits can be set both in the tag admin and in the code itself as to how many get displayed....dont you?

As far as your other widget problems...I know you keep telling me how easy widgets are but I still do things the old fashioned way and hardcode my sidebars.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote