buddypress/bp-blogs
Boone B Gorges 0983f89c8c Introduces template hierarchy for top-level theme compat templates
The "top-level" template is the outermost template included by theme
compatibility. As of BuddyPress 1.7, a stack of template names is checked when
BP decides which top-level template to use: plugin-buddypres.php,
buddypress.php, community.php, etc. (See bp_get_theme_compat_templates().)

This changeset introduces an additional level of template hierarchy, so that
themes may provide top-level templates that are specific to the current
component, such as blogs/index-directory.php, or specific to the current item,
action, or status, such as groups/single/index-id-{$group_id}.php. In this way,
BP's top-level template hierarchy becomes more flexible for theme devs, and
more closely parallels the template hierarchy used by WordPress.

Note that this changeset only implements hierarchy for the top-level templates.
Inner template parts may receive a parallel hierarchy in a future version of
BuddyPress.

Fixes #4639

Props r-a-y

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7212 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2013-06-13 01:27:01 +00:00
..
bp-blogs-actions.php Audit home_url() vs. site_url() usage. Fixes #2549. 2013-05-01 04:10:19 +00:00
bp-blogs-activity.php Only register 'new_blog' activity action on multisite installs. 2013-05-15 18:26:41 +00:00
bp-blogs-buddybar.php EOF: 2012-09-18 18:03:00 +00:00
bp-blogs-cache.php EOF: 2012-09-18 18:03:00 +00:00
bp-blogs-classes.php Improved sanitization in Blogs component database methods 2013-05-09 13:20:07 +00:00
bp-blogs-filters.php Use the correct root slug when filtering the site registration link on wp-admin/my-sites.php. 2012-10-30 14:52:56 +00:00
bp-blogs-functions.php Pinking shears 2013-06-06 22:56:38 +00:00
bp-blogs-loader.php Add 'Create a Group / Blog' links to the WP Toolbar. See #1838. 2013-05-14 19:22:38 +00:00
bp-blogs-screens.php Introduces template hierarchy for top-level theme compat templates 2013-06-13 01:27:01 +00:00
bp-blogs-template.php Increase the maxlength attribute on the site registration template from 50 to 63. 2012-10-31 10:57:55 +00:00
bp-blogs-widgets.php Adds 'widget' class to all BP widget wrappers 2013-06-13 01:09:52 +00:00