Opened 18 years ago
Closed 17 years ago
#4703 closed enhancement (fixed)
Add classes to the Page and Category Walkers
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.3 | Priority: | low |
Severity: | normal | Version: | 2.3 |
Component: | Optimization | Keywords: | has-patch |
Focuses: | Cc: |
Description
Walker_Page needs an ID specific class to allow users to customize the look of links produced by it based on the specific page being linked to. Several users have requested such a thing on the support forums, and the only way to do it is by hacking the core code: http://wordpress.org/support/topic/104396
Similarly, the Walker_Category could use some better classes, such as a general cat_item class as well as a cat_item_ID class.
Patch attched to do both of these.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Adds classes for page and category items