Re: Future of bbPress
One could run a filter function on bb_template
to check for templates in both the parent and child themes.
Or, the user could set it in bb-config.php
:
define( BB_DEFAULT_THEME_DIR, 'path/to/default/theme/directory' );
I don’t really like either of those two options. Your average user gets confused enough as it is. Trying to tell them to input PHP code can cause headaches sometimes.
As far as I know, there’s no way to filter the default theme directory either. I’m open to ideas though. If anyone could offer a solution with a few lines of code, I’ll be happy to give it a whirl.
Ideally, the constant BB_DEFAULT_THEME_DIR
would be based off the theme’s Template
line in style.css
. Or, bb_get_default_template()
would recognize the Template
line.