BuddyApp & WP Engine
BuddyApp & WP EngineIf your BuddyApp site is hosted with WP Engine then you will need some minor changes to make BuddyPress work seamlessly. This is a problem that is not related to the theme but something that has to do with WP Engine system.
-
Activate your BuddyApp Child theme if it is not already enabled.
-
Go to WP Admin > Appearance > Editor > BuddyApp Child > Functions.php and paste the below code on a new line at the end of the file.
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/js/jquery-scroll-to.min.js', array("jquery"));wp_enqueue_script('buddypress_js',get_template_directory_uri() . '/buddypress/js/buddypress.min.js',array("jquery"));}}- Save your code and clear your caches.