Opened 2 years ago
Last modified 9 months ago
#16223 new enhancement
post_class for public custom taxonomies
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Template | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: |
Description
post_class() should include styles for custom taxonomies.
Attachments (2)
Change History (9)
comment:1
nacin
— 2 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
comment:2
nacin
— 2 years ago
Going to leave the needs-patch on there. Let's reduce the code a bit.
We also need to check that we're hitting the cache on that.
comment:3
sillybean
— 2 years ago
I thought so too, but it would change existing behavior, since tags print tag-name now and this would print post_tag-name. Could throw in an if just for tags, I guess.
comment:5
sillybean
— 2 years ago
- Keywords has-patch needs-testing added; needs-patch removed
Patch updated. This replaces the existing bits for categories and tags in a way that's consistent with the old behavior.
Not sure about the cache; this is more or less how it was done before.
Nice enhancement. Can probably clean up the existing taxonomy code there in the process.