Opened 13 years ago
Closed 8 years ago
#3501 closed enhancement (wontfix)
More flexibility in default theme member-header.php
Reported by: | Jonnyauk | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Templates | Keywords: | |
Cc: | karmatosed@… |
Description
It would be very useful to make this file more flexible to allow child themes and plugins to interact with it more.
See suggested patch attached 01.patch:
bp-default/members/single/member-header.php
- New hook 'bp_before_member_header_title' - Insert content before main h2 title.
- New hook 'bp_before_member_header_summary' - Before activity summary.
- @name and last activity code made into new display function 'bp_dtheme_content_member_summary' - Allow more flexibility and over-ride potential in child themes. May be of use for activity area redesigns.
- bp_activity_latest_update() and surrounding <div> made into new display function 'bp_dtheme_content_member_update' - Allow more flexibility and over-ride potential in child themes. May be of use for activity area redesigns.
bp-default/_inc_css/default.css
- Amend CSS style accordingly
bp-default/functions.php
- Contains new display functions as described above.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
The problem with moving those snippets into functions are child themes that won't be updating their functions.php files.
Great patch but too late in 1.5 development cycle to make this kind of change. Moving to future release.