WordPress.org

Support

Support » Plugins and Hacks » Suffusion BuddyPress Pack » Fixing the global.js issue

Fixing the global.js issue

  • The suffusion theme will load the bp global.js which might cause issues. For me the issue was undefined functions because jquery was loaded more than once.
    I fixed this by adding the following to the functions.php of the child theme:

    //buddypress fix:
    	add_action('wp_enqueue_scripts', 'GD_remove_scripts', 999);
        add_theme_support( 'buddypress' );
    //buddypress fix:
    function GD_remove_scripts(){
    	wp_dequeue_script( 'suffusion-bp-ajax-js' );
    }

    http://wordpress.org/plugins/suffusion-buddypress-pack/

  • The topic ‘Fixing the global.js issue’ is closed to new replies.
Skip to toolbar