[wp-testers] problem listing categories...

cedric at feelfree.homelinux.com cedric at feelfree.homelinux.com
Wed Nov 16 15:54:57 GMT 2005


Yes after deeper investigations I saw that all the category_count in
wp_categories table were equal to 0 (except 1)

now it's OK

Thanks
>
> On Nov 16, 2005, at 9:13 AM, cedric at feelfree.homelinux.com wrote:
>
>> I'm on 3108 revision and I got just one category listed in the
>> sidebar.
>>
>> Problem seems to be located in function list_cats (in
>> template-functions-category.php)
>> ...in the foreach ( $categories as $category ) (line 317) loop, but
>> I am
>> not a wp code specialist to find the solution myself (I hope I'll
>> become
>> one ;-) )
>
> Cedric,
>
> Manage>Posts
> Now edit a post that should be listed in a category in the sidebar,
> but isn't.
> Just hit Save.
> Reload blog and view sidebar.
>
> Is it back?
>
> category_count in wp_categories wasn't updated. I think by doing this
> will get that field updated for that particular category. You'll just
> need to repeat to get them all.
>
> Darrell
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>




More information about the wp-testers mailing list