Re: Getting Buddypress Functions in to Custom Theme
The javascript main file ‘global.js and also the ajax file are both included and enqueued from the main functions file in bp-default so I don’t really know why it isn’t working for you other than your child theme isn’t correctly referencing bp-default and that might be the fault of the custom theme?
you could try adding:
`
// Load the AJAX functions for the theme
require_once( TEMPLATEPATH . ‘/_inc/ajax.php’ );
// Load the javascript for the theme
wp_enqueue_script( ‘dtheme-ajax-js’, get_template_directory_uri() . ‘/_inc/global.js’, array( ‘jquery’ ) );
`
to your functions file in child theme and copying over the two files into ‘_inc’ folder of child theme and see if that works.