Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,844
- How-to & Troubleshooting
- 128,827
- Creating & Extending
- 25,735
- Requests & Feedback
- 9,442
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,128
-
jquery should already be loaded on all Dashboard panels, I think. You may still need to load jquery-ui. In that case, your method looks like it should work. The only possible snag I can see is that is_admin() might return false until after the ‘init’ action. In that case, try just doing
`add_action(‘init’, ‘load_js’);`
and move the admin check inside of the load_js() function:
`function load_js() {
if ( !is_admin() )
return false;
wp_register_script….`
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS