[buddypress-trac] [BuddyPress] #3389: Enqueueing CSS of bp-default breaks child theme layouts

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Aug 15 23:35:16 UTC 2011


#3389: Enqueueing CSS of bp-default breaks child theme layouts
---------------------+------------------------------
 Reporter:  mercime  |       Owner:
     Type:  defect   |      Status:  new
 Priority:  normal   |   Milestone:  Awaiting Review
Component:  Theme    |     Version:  1.5
 Severity:  normal   |  Resolution:
 Keywords:           |
---------------------+------------------------------

Comment (by karmatosed):

 Erm it's a function from the default theme not mine and if you use it like
 I did it won't enqueue.  I can replicate it not enqueueing using default
 and a child.  That is the reason it has the function exists check so you
 can use it and whatever you put in enqueues.  That way you are calling
 those styles as and when you want just enqueing.

 Maybe I'm wrong but I don't get issue with enqueuing if you can deal with
 it so easily defining the function.  For your case (which is same as mine
 for other themes) define function in your theme functions.php (assuming
 you are child of bp default of course) then remove totally that'd enqueue
 line for default, whack in your own enqueues for styles... Job done?  Is
 it something you have to change?  Yes and that is where education comes in
 it won't work out of box that is not point I'm making but you can make it
 work easier than deregistering.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3389#comment:16>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list