Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 331 other followers
There is a dev chat today, Wednesday 12th January, at 19:00 UTC.
Ray, Marshall, and Ptah Dunbar are discussing. Toggle Comments
All locate_template() calls in the theme should be wrapped with something like bp_locate_theme() so the location of the BP specific templates can be filtered. How to handle calls for native WP templates like sidebar.php is a more complicated issue.
make that bp_locate_template()
Something like this definitely needs to be in BP 1.3.
instead of introducing a new template tag, just use get_template_part(). You can already override any bp screen from the bp_located_template filter.
get_template_part() looks for the template names it builds from the slug and name params in the theme root, so it would get messy very quickly and does not jive with how BP currently stores templates in sub folders.
Marshall is right.
Looks like something like this might happen in BP 1.4:
Playing the waiting game with WP core I guess.
Required fields are marked *
Notify me of follow-up comments via email.
Notify me of new posts via email.
← Happy 2011! To ring in the new year, I t…
First round of installer/updater fixes i… →
Blog at WordPress.com. Theme: Customized P2 by Automattic.
Get every new post delivered to your Inbox.