Opened 9 months ago
Closed 9 months ago
#9118 closed defect (bug) (fixed)
Set BP Block Themes minimal template hierarchy
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 14.0.0 | Priority: | normal |
Severity: | normal | Version: | 1.0 |
Component: | Templates | Keywords: | has-patch |
Cc: |
Description (last modified by )
Working on BuddyVibes, I've noticed the BP Default theme was weirdly using full (header, sidebar, footer) templates in the members/single/settings/
folder while it wasn't the case for the other folders.
In order to have more consistency comparing Template Pack way of loading single member's settings screens and BP Block Theme way, we need to edit almost all bp_core_load_template
occurrences so that it passes an array containing the BP Default templates and the next BP Block Theme ones.
As I was into it, I've replaced for these BP Block themes the single item's root template from home
to index
.
Change History (12)
This ticket was mentioned in PR #249 on buddypress/buddypress by imath.
9 months ago
#3
- Keywords has-patch added
Make the BP Block themes template hierarchy more inline with BP Template packs one as well as with WP Block Themes (using
index.html
instead ofhome.html
. See https://github.com/buddypress/buddyvibes/pull/7.Trac ticket: https://buddypress.trac.wordpress.org/ticket/9118