Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-04-09, 03:28 PM   #1
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
Old 2008-04-09, 05:32 PM   #2
ronnie
Wheither you think you can or you think you can't, Your right.
 
Join Date: Jun 2004
Location: midwest
Posts: 2,274
Send a message via ICQ to ronnie
Quote:
Originally Posted by walrus View Post
Here's the code your looking for:
Code:
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=1'); ?>
Thats the code, actually I think I used that before, but it showed the count, which I didn't want, but changing the count to 0 fixes that.. Thank you!

Quote:
Originally Posted by walrus View Post
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.
I can't seem to find any settings for the tags. Only thing that I know of is I can set the title in the tag cloud widget itself. I am using the WP default tag cloud widget. Haven't checked the code. Will do.

Guess this is a good example that widgets don't always do the job, compared to hard coding. Maybe I am too into the coolness of widgets... Though I do like how I can more code around, or in and out of my blog very quickly.
ronnie is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:07 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc