[buddypress-trac] [BuddyPress Trac] #6124: Twentyfifteen BP Companion Stylesheet

buddypress-trac noreply at wordpress.org
Sat Apr 4 15:23:24 UTC 2015


#6124: Twentyfifteen BP Companion Stylesheet
-----------------------------------------+-----------------------------
 Reporter:  hnla                         |       Owner:  hnla
     Type:  enhancement                  |      Status:  assigned
 Priority:  normal                       |   Milestone:  Future Release
Component:  Appearance - Template Parts  |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:                               |
-----------------------------------------+-----------------------------

Comment (by hnla):

 Yes we're loading the stylesheet based on using get_stylesheet() to find
 the theme name so the problem will be building the file handle for
 enqueueing based on that and a child theme being essentially differently
 named from our physical file name.

 So currently in theory the stylesheet could be overloaded to the main
 theme i.e 2015 and will be loaded but if overloaded to a child theme would
 need to be renamed to match child theme name under a suitable bp
 directory.

 I think this is the way we'll have to play things, we could change to
 `get_template()` then would load twentyfifteen.css in a child theme based
 on twentyfifteen if that wasn't wanted then it could be overloaded or de-
 registered.

 I can't decide what's the better option, it could be the case that the
 user simply needs to overload a template or two for simple changes then as
 is they would need to overload the stylesheet and re-name it; is this too
 much to ask?

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


More information about the buddypress-trac mailing list