Archived topic
GP + bbpress = missing .js files during loading
4 replies · Started by Melissa on January 29, 2022
I'm using GP theme and bbpress together, but when I add plugins in this case wp-recipe maker, the bbpress install won't load the required javascript files on the bbpress pages.
Do you have any ideas or recommendations on how to fix that?
Hi there,
Just to be clear - is it the Recipe Maker plugins Script files are not loading on the BB Press pages?
Or is it any plugin thats not working correctly?
The only one that I'm noticing it ignoring completely is the recipe maker plugin, but I don't have many plugins running.
I tried using a hook element:
<?php
if ( !function_exists( 'bbp_is_single_topic' ) ) {
require plugin_dir_path( __FILE__ ) . 'includes/class-wp-recipe-maker.php';
}
?>
the developer of the plugin said that it should load using:
WPRMP_Assets::load();
but I don't understand where I'm supposed to put that. I tried it in the wp-functions.php and the bbpress functions.php
I also tried it in a hook: wp_head on display rule topics
<?php
WPRM_Assets::load();
?>
I've tried at least 3 dozen different combos and can't figure out how to force bbpress to load properly.
OMG, I just Got it! My syntax was off!! I used the hook as listed above! Thank you for your time.
Glad to hear you found the issue !