Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  •  tylerjohnson
    Participant

    Thanks! I updated it to the new code.

     tylerjohnson
    Participant

    Just wanted to comment and say, thank you valuser! I’m on WPEngine as well and this fixed my issue.

    COPY CODE
    add_action( 'wp_enqueue_scripts', 'load_buddypress_js' );
    function load_buddypress_js () {
    if (bp_is_group() || is_page( 'activity' )) {
    wp_enqueue_script('buddypress_query',plugins_url() . '/buddypress/bp-core/js/jquery-query.min.js',array("jquery"));
    wp_enqueue_script('buddypress_members',plugins_url() . '/buddypress/bp-core/js/widget-members.min.js',array("jquery"));
    wp_enqueue_script('buddypress_cookie',plugins_url() . '/buddypress/bp-core/js/jquery-cookie.min.js',array("jquery"));
    wp_enqueue_script('buddypress_scroll',plugins_url() . '/buddypress/bp-core/deprecated/js/jquery-scroll-to.min.js',array("jquery"));
    wp_enqueue_script('buddypress_js',get_template_directory_uri() . '/buddypress/js/buddypress.min.js',array("jquery"));
    }
    }
Viewing 2 posts - 1 through 2 (of 2 total)

Log in with your credentials

Forgot your details?