BlogTutorials

How to Fix Add Media Button Not Working in WordPress

Not too long ago one in all our customers reported that the ‘Add Media’ button on their WordPress website has immediately stopped working. This drawback doesn’t show any error or warning which leaves customers clueless about why their ‘Add Media’ button is just not working. On this article, we’ll present you the way to simply repair the ‘Add Media’ button not working situation in WordPress.

Fixing add media button not working in WordPress

What causes the WordPress ‘Add Media’ Button to Cease Working?

This drawback is usually attributable to conflicting scripts or stylesheets loaded by WordPress plugins or themes put in in your website. The default conduct of WordPress is to load all required scripts and stylesheets by combining the requests.

That is normally performed within the WordPress admin area to enhance efficiency and velocity.

The WordPress submit editor makes use of JavaScript for all buttons on the display screen together with the add media button. A battle can cease JavaScript from working which can disable the ‘Add Media’ button.

Add media button stopped working in WordPress

That being stated, let’s check out the way to troubleshoot and repair the ‘Add Media’ button not working in WordPress.

Fixing Add Media Button Not Working Problem in WordPress

The fast repair is so as to add the next code to your wp-config.php file. You are able to do this by editing wp-config.php file and including this code simply earlier than the road that claims ‘That’s all, cease enhancing! Completely satisfied running a blog’.

1
outline('CONCATENATE_SCRIPTS', false );

This code merely tells WordPress to load every script individually which helps avoiding a JavaScript battle with buggy scripts and the core WordPress options.

After you have got added the code, go forward and the go to submit edit display screen to see if the add media button is working as anticipated.

Notice: Including this code is just not a correct long-term resolution since you nonetheless have a script that’s inflicting the problem. A better solution to discover the supply of the issue is by utilizing the examine software. It should present you console errors which might lead you to the supply of the battle.

If you need a long-term repair for this situation, then that you must carry out the essential WordPress troubleshooting tips to determine which plugin or theme could also be inflicting the problem.

We strongly suggest that you simply do that in your staging website as an alternative of a reside website. Right here’s a step-by-step information on how to create a WordPress staging site. All of the best WordPress hosting companies like Bluehost, SiteGround, WP Engine, and Liquid Internet supply 1-click staging performance.

In your staging website, that you must begin by deactivating all of your WordPress plugins after which test if it mounted the ‘Add Media’ button. If it does, then this implies one of many plugins was inflicting the problem.

Deactivate all plugins

Now you can activate the plugins one-by-one, and after activating a plugin test the ‘Add Media’ button. It will assist you to discover out which plugin is inflicting the problem. After you discover the offender, you possibly can substitute it with one other plugin or ask plugin creator for assist.

If deactivating plugins doesn’t remedy the problem, then the subsequent step is to quickly change to a default WordPress theme like Twenty Seventeen.

Switch to a default WordPress theme

If switching to the default theme fixes the problem for you, then this implies your theme is inflicting the battle. You possibly can ask theme creator for help or change to a special WordPress theme.

As soon as you discover the supply of the issue in your staging website, then you possibly can apply the repair in your reside WordPress website.

We hope this text helped you learn to repair add media button not working in WordPress. You may additionally wish to see our checklist of the most common WordPress errors and the way to repair them.

Download The WPSaviour App Now

Leave a Reply

Your email address will not be published.

Pay in your preferred currency
Indian rupee
Euro