[buddypress-trac] [BuddyPress Trac] #7730: Allow theme to override site template pack choice

buddypress-trac noreply at wordpress.org
Mon Mar 26 15:24:50 UTC 2018


#7730: Allow theme to override site template pack choice
-------------------------+---------------------
 Reporter:  Paul Gibbs   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Templates    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by Paul Gibbs):

 1.patch proposes support for `add_theme_support("buddypress-use-XXX")`,
 where `XXX` is the ID of any registered template pack.

 e.g.
 ```
 add_theme_support("buddypress-use-nouveau");
 add_theme_support("buddypress-use-legacy");
 ```

 If one is set, and a template pack with that ID exists, then BuddyPress
 will load that instead of the site preference.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7730#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list