Wordpress 2.1.2 Forum Depth

Status
Not open for further replies.

trigatch4

BuildAndEarn
Aug 23, 2006
2,558
79
0
East Coast
www.eurekadiary.com
Didn't get any answers on the wordpress support forum, thought you all might know:

The forum depth syntax doesnt seem to be working properly in WP 2.1.2 - I'm using the same syntax that works in earlier versions of WP to try and limit my sidebar display to only top level categories using the depth=-1 but...

IT DOESN'T WORK!

Anyone wanna shed some light on this?
 


I'm confused with "forum depth" Post the code you're using for top level only cateogries..I'll be back later with some options in the meantime
 
I do thing "different" with my installs but here are a few things I found in an old page I had I'm just extracting code because I have a bunch of other stuff connected but it should get you off on the right foot

Code:
wp_list_cats('sort_column=name&optioncount=0&use_desc_for_title=0&child_of=8');
or
Code:
list_cats( false, /* optionall */        '', /* all */        'name', /* sort column */        'asc', /* sort order */            '', /* file */        true, /* list */        false, /* optiondate */            false, /* optioncount */        TRUE, /* hide_empty */        true, /* use_desc_for_title */        true, /* children */        true, /* child_of */        '', /* categories */        '', /* recurse */        false, /* feed */        '', /* feed_img */        '1,32,3,/*Categories that show*/, 44,11,', /*categories you excluded /true/* hierarchical */); }


For the wp_list_cats option I use it in conjunction with in_category then you can include the categories you want to show.. I hope that helps
 
What happened to the ('depth=') argument in WP 2.1 ??? Why the fuck would that get dropped? Why complicate something that worked so well?
 
Status
Not open for further replies.