turtleshell
turtleshell copied to clipboard
Backpat template filenaming
I have some concerns about backpat.
I'm working on a plugin currently, which grabs the members loop template to display on a page.
I'm currently using this:
bp_get_template_part( 'members/members-loop' );
Which will grab the members loop template from theme compat / bp-default.
In TS, this won't work since the filenaming structure is different and members-loop.php does not exist.
TS will, at the very least, need to add a filter so it will route filenames from theme compat to TS' new filenames to ensure compatibility.
I'll send a pull request soon, but wanted to note this now.
I started it like this intentionally because the old file name conventions suck. Benefits of working on a proof of concept idea :)