Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi @rladouceur

    Looks like the7 is enqueing a script called admin-mbox-switcher on ALL admin pages. We’ll reach out to them about making that more conditional.

    In the meantime, add this into your child theme’s functions.php file and you’re good to go.

    Thanks!

    function dequeue_magick_give_admin()
    {
        if (class_exists('Give')) {
            if (give_is_admin_page()) {
                wp_dequeue_script('dt-mb-switcher');
            }
        }
    }
    add_action( 'wp_print_scripts', 'dequeue_magick_give_admin', 100 );
    Thread Starter rladouceur

    (@rladouceur)

    Wow, what EXCELLENT support!!!

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Thanks! If you’re enjoying Give and appreciate our support, we’d love a kind review from you: https://www.ads-software.com/support/view/plugin-reviews/give

    Thanks for using Give!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Give and the7 Theme’ is closed to new replies.