Opened 10 years ago
Last modified 5 years ago
#30705 new enhancement
Add parameter to get_the_term_list() to allow templating
Reported by: | davidjlaietta | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5 |
Component: | Taxonomy | Keywords: | needs-testing needs-unit-tests needs-patch |
Focuses: | Cc: |
Description (last modified by )
Similar to #27238 the parameter $term_template is suggested to allow for user created formatting for get_the_term_list(), as opposed to the previous standard of simply linking to each list in the term.
The reasoning for the change is that general linking is not always the desired action for displaying term lists. The method for inclusion is similar to [30209].
Attachments (1)
Change History (5)
#4
@
10 years ago
- Keywords needs-unit-tests needs-patch added; has-patch removed
- Milestone changed from Awaiting Review to Future Release
Would like to see unit tests for this. Also, if we're going to add support here, we should also add it to functions that call get_the_term_list()
- namely, get_the_tag_list()
.
Note: See
TracTickets for help on using
tickets.
inclusion of $term_template argument