[wp-trac] Re: [WordPress Trac] #2461: Categories and Posts,
Parents and Children not separated in list_cats()
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 17 08:06:59 GMT 2007
#2461: Categories and Posts, Parents and Children not separated in list_cats()
------------------------+---------------------------------------------------
Reporter: researcher | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 2.1
Component: Template | Version: 2.0.1
Severity: normal | Resolution:
Keywords: list_cats |
------------------------+---------------------------------------------------
Changes (by murky):
* status: closed => reopened
* resolution: invalid =>
Comment:
I'm not sure about the suggested solution, but I share the problem...
Essentially, WP category listing can be very bloated for the end user.
Parent1
- Child1A
- Child1B
Parent2
- Child2A
- - Child2A1
- - CHild2A2
If viewing Parent2, it should be possible to make the ONLY child to be
visible should be Child2A (or 2B etc)
I would like options to
1) show all parent categories (relevant if in a subcategory page)
2) show the parents of the current category (in the correct places, see
below)
3) Show first children of current category
4) show sibling categories
5) An optional user controllable string could be tagged on if there were
undisplayed children categories (default would be [+] )
6) The current category would be displayed with no link on it (allowing
for css selection)
So with this structure:
Parent1
- Child1A
- - Child 1A1
- - Child 1A2
- - - Child 1A2A
- Child1B
Parent2
- Child2A
- - Child2A1
- - - Child2A1A
- - CHild2A2
- - - Child2A2A
Parent3
- Child3A
- - Child3A1
- - CHild3A2
Suppose we looked at CHild2A2, it should be possible to display:
Parent1[+]
Parent2
- Child2A
- - Child2A1[+]
- - CHild2A2
- - - Child2A2A <--- no link for this cat
Parent3[+]
Much neater.... and easier to navigate.
--
Ticket URL: <http://trac.wordpress.org/ticket/2461#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list