I just split your reply into a new topic because your reply is very specific with using the divi theme and reply threading feature in bbPress.
I am aware of this issue. There is a conflict with a script in the Divi Theme some custom-js.js
script that holds carousel/slider javascripts and it is conflicting with bbPress’s reply threading.
A simple and fast fix, I guess would be to de-enqueue the script on any bbPress related pages.
Contact Divi Support first about the issue to see if they have a fix handy or are aware of the issue.
I have contacted them, thank you.
It took a few days to prove that Divi was the issue, but now they know and the issue has been sent to their developers. I’m not sure how to de-enqueue scripts, but I’ll see if someone can help me. Thanks.
It is just a conflicting piece of javascript somewhere in the file. If they already have a fix somewhere in that file for comment threading then something similar may need to be done to bbPress reply threading since both their scripts are very similar.
Try this custom php code snippet. Place it in your child themes functions.php file or in a functionality plugin.
add_action( 'wp_print_scripts', 'rkk_reply_threading_divi' );
function rkk_reply_threading_divi() {
if( function_exists( 'is_bbpress' ) && bbp_is_single_topic() && bbp_thread_replies() ) {
wp_dequeue_script( 'divi-custom-script' );
}
}
Thank you @robkk It didn’t work, but I only have a basic understanding, so I’m not exactly sure if I put the code in the right place in the file. Here is what my functions.php file looks like with the code you provided.
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
register_nav_menus( array(
'primary-menu' => __( 'Primary Menu', 'Divi' ),
'profile-menu' => __( 'Profile Menu', 'Divi' ),
'secondary-menu' => __( 'Secondary Menu', 'Divi' ),
'footer-menu' => __( 'Footer Menu', 'Divi' ),
) );
add_action( 'wp_print_scripts', 'rkk_reply_threading_divi' );
function rkk_reply_threading_divi() {
if( function_exists( 'is_bbpress' ) && bbp_is_single_topic() && bbp_thread_replies() )
{
wp_dequeue_script( 'divi-custom-script' );
}
}
?>
I guess you can try this code instead to see if it works any. I guess I can can also just check out to see if the custom script file name changed. I am using an older version of Divi 2.4 for testing so it could be a possibility.
You can contact me here if you want me to check it out on your site later.
Contact
add_action( 'wp_print_scripts', 'rkk_reply_threading_divi' );
function rkk_reply_threading_divi() {
if( is_bbpress() && bbp_is_single_topic() ) {
wp_dequeue_script( 'divi-custom-script' );
}
}
Hi @klink – Did you ever get this issue resolved? I’m also using Divi and bbpress and running into the same issue.
i have already using a theme wordpress platform.
can you suggest me a good theme for my website. http://qoatc.com.au/
Thanks