[wp-trac] [WordPress Trac] #2461: Categories and Posts,
Parents and Children not separated in list_cats()
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 16 10:32:39 GMT 2006
#2461: Categories and Posts, Parents and Children not separated in list_cats()
-----------------------+----------------------------------------------------
Id: 2461 | Status: new
Component: Template | Modified: Thu Feb 16 10:32:39 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.0.1
Owner: anonymous | Reporter: researcher
-----------------------+----------------------------------------------------
the catstructure in WP is well known i think:
{{{
Parent1
- Child1A
- Child1B
Parent2
- Child2A
- - Child2A1
- - CHild2A2
}}}
and so on.
if Parent2 is chosen with list_cats() you get also all the Children2XX.
there is no logic in this from users perspective (if i call Matt, i don't
wont to speak to his 12 children! sorry Matt).
my suggestion is; create 3 entities.
{{{
first entity = ThisCat (the current category and show all posts)
second = ParentCat (should be turned ON or OFF, shows posts in the
ParentCat YES or NO)
third = ChildCat (should be turned ON or OFF, shows posts in
the ChildCat YES or NO)
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/2461>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list