1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

"Upload an image" button is disabled in Divi child theme

Discussion in 'Free Divi Community Forum' started by CLM, Apr 13, 2026.

  1. CLM

    CLM New Member

    Hi, the "Upload an image" button is disabled in our Divi child theme, but appears normally in the Divi theme:

    Screenshot 2026-04-14 093722.jpg

    Any ideas how to enable it in the child theme?

    I have disabled all plugins and cleared all caches, but that didn't resolve the issue.

    Thank you.
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    If you switch back to use the default Divi parent theme, then the button works?

    If that's the case, there must be some coding in your child theme that's disabling the button.

    I would suspect it's using JS to disable the button. You may edit the child theme files at WP Admin > Appearance > Theme File Editor & see if there's any JS used by the child theme. If yes, edit the JS file & look for media-button-insert & see if there's any code disabling it.
     
  3. CLM

    CLM New Member

    Thanks for your suggestion. Yes, if we switch back to use the default Divi parent theme, then the upload image button works.

    I looked through the child theme files and didn't find anything referring to media-button-insert. I also ran a database search for that string and didn't find anything.

    The only custom JS we have added is for Google Tag Manager and Google Analytics.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gallery carousel design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    For that case, try to edit the child theme functions.php & add comment tag // to those add_action or add_filter to find the culprit. By adding the comment tag, it will temporary disable the action.

    For example:

    add_action( 'wp_enqueue_scripts', 'divi_enqueue_assets' );

    Change into:

    //add_action( 'wp_enqueue_scripts', 'divi_enqueue_assets' );

    And save & test. If not the culprit, remove the comment tag & move on to the next action or filter.
     
  5. CLM

    CLM New Member

    I removed ALL the code from the child theme functions.php, saved, cleared all caches (Divi, website and browser) and tested, but the "Upload an image" button is still disabled in our Divi child theme.
     
    1. PRO MEMBER PERKS Divi Block Pro - Powerful Divi header builder for you to mix & match premade header design, mobile menu & more:Learn More
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    For that case, any other files in your child theme?
     
  7. CLM

    CLM New Member

    We've discovered that the image upload button is active in the Divi editor, and only vanishes when we select Build On The Front End.
     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Replace the default archive "Older Entries" with beautiful pagination:Learn More