[buddypress-trac] [BuddyPress] #4869: BP Theme Compat & BuddyPress Widgets styles
buddypress-trac
noreply at wordpress.org
Fri Apr 5 13:32:41 UTC 2013
#4869: BP Theme Compat & BuddyPress Widgets styles
------------------------------------+-----------------------
Reporter: imath | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 1.7
Component: Theme | Version: 1.7
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+-----------------------
Comment (by needle):
Thanks r-a-y and boonebgorges - yes, working with the github BP Template
Pack fixes my issues. I don't need to declare
`add_theme_support('buddypress')` in my theme and can keep instructions to
people as they were. I was thinking that it would be nice to dispense with
the need for BP Template Pack, but since existing installs of my theme use
it, it makes sense to keep going with it.
> That said, if you want to use bp-legacy's JS, you should just
register/enqueue it directly.
Because the javascript requires localizing, I've found it's not quite as
simple as that, though `wp_register_script()` wouldn't necessarily help
here either. Also, I see that BP Template Pack enqueues 'bp-themes/bp-
default/_inc/global.js' rather than 'bp-legacy-js' and this enables "Load
More" which appends to #content rather than #buddypress.
Thank you both for your help.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4869#comment:20>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list