Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,527
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
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