Changes between Initial Version and Version 1 of Ticket #5552, comment 9
- Timestamp:
- 08/12/2014 11:03:59 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5552, comment 9
initial v1 14 14 bp-legacy, then, uses `members/single/plugins.php`, which is used as a [https://buddypress.trac.wordpress.org/browser/tags/2.0.2/bp-templates/bp-legacy/buddypress/members/single/plugins.php template part]. 15 15 16 Whereas for bp-default, plugins.php is a [https://buddypress.trac.wordpress.org/browser/tags/2.0.2/bp-themes/bp-default/members/single/plugins.php full page template]. That's why we call `bp_core_load_template( 'members/single/plugins' )`. In an ideal world, bp-default's `'members/single/plugins.php'` would be a template part like bp-legacy, then you could use bp_core_load_template( 'members/single/home' ) instead of bp_core_load_template( 'members/single/plugins' )in plugins. However, it is what it is I'm afraid.16 Whereas for bp-default, plugins.php is a [https://buddypress.trac.wordpress.org/browser/tags/2.0.2/bp-themes/bp-default/members/single/plugins.php full page template]. That's why we call `bp_core_load_template( 'members/single/plugins' )`. In an ideal world, bp-default's `'members/single/plugins.php'` would be a template part like bp-legacy, then you could use `bp_core_load_template( 'members/single/home' )` instead of `bp_core_load_template( 'members/single/plugins' )` in plugins. However, it is what it is I'm afraid.