[wp-testers] Excluding subcategories

Ryan Boren ryan at boren.nu
Wed Jan 24 06:32:07 GMT 2007


On 1/23/07, Dino Termini <dino at duechiacchiere.it> wrote:
>
> >> I see someone else is asking for the same thing :-)
> >>
> >> http://wordpress.org/support/topic/101889
> >
> > Try depth=1.
>
> Hi Ryan, sorry but it didn't work. Digging inside the code
> (category-template.php), actually there's no a "depth" parameter for
> wp_list_categories function. Maybe you mean "hierarchical=0" but this
> just makes flat lists, instead of nested ones.

Sorry, I was thinking of pages instead of categories.

> PS: I think I will need to "optimize" my theme. Before upgrading, each
> page was generated in say more or less 0.30 seconds, now the average
> time is 0.45. Maybe my template uses some deprecated functions?

The deprecated functions simply call the new functions.  Decreased
performance is a bug.

Ryan


More information about the wp-testers mailing list