klink (@klink)

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

  • klink
    Participant

    @klink

    I don’t really know how it would be possible to deactivate necessary plugins and/or switch themes and still make sure the site is still usable to our paid community. It’s not something I can test, as I don’t know how the spammers are getting through in the first place.


    klink
    Participant

    @klink

    I think that did the trick! I’m waiting to hear from some users who don’t have admin privileges, but I don’t see the mismatch error anymore. Thank you so much @casiepa !


    klink
    Participant

    @klink

    No, I didn’t know about that. I’ll try it now. Thanks.


    klink
    Participant

    @klink

    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' );
        }
    }
    ?>
    

    klink
    Participant

    @klink

    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.


    klink
    Participant

    @klink

    I have contacted them, thank you.

Viewing 6 replies - 1 through 6 (of 6 total)