How to Fix Add Media Button Not Working in WordPress

Recently one of our readers reported that the Add Media button on their WordPress site has suddenly stopped working. This Classic Editor problem does

WordPress Information:How to Fix Add Media Button Not Working in WordPress

Lately certainly one of our readers reported that the ‘Add Media' button on their WordPress web site has abruptly stopped working.

This Basic Editor downside doesn't any error or warnings, which leaves customers clueless about why their ‘Add Media' button isn't working.

On this article, we are going to present you the way to simply repair the ‘Add Media' button not working difficulty in WordPress.

How to Fix Add Media Button Not Working in WordPress

What Causes the WordPress ‘Add Media' Button to Cease Working?

If you're nonetheless utilizing the previous traditional WordPress editor, then the ‘Add Media' button permits you to insert pictures, movies, and extra into your weblog posts. Nevertheless, this button can cease working.

How to Fix Add Media Button Not Working in WordPress

This downside is usually brought on by conflicting scripts or stylesheets loaded by WordPress plugins or themes put in in your web site. The default conduct of WordPress is to load all required scripts and stylesheets by combining the requests.

That is normally completed in the WordPress admin space to enhance efficiency and velocity.

The WordPress editor makes use of JavaScript for all buttons on the display, together with the ‘Add Media' button. A battle can cease JavaScript from working, which is able to disable the ‘Add Media' button.

That being stated, ' out how to troubleshoot and repair the ‘Add Media' button not working in WordPress.

Fixing ‘Add Media' Button Not Working Situation in WordPress

There are a number of troubleshooting strategies when the ‘Add Media' button isn't working in WordPress. Let's begin with enhancing your wp-config.php file.

Add Code to Your wp.config.php File

The short repair is to add the next code to your wp-config.php file. You are able to do this by enhancing the wp-config.php file and including this code simply earlier than the road that claims, ‘That's all, cease enhancing! Blissful running a blog':

outline('CONCATENATE_SCRIPTS', false );
Hosted with ❤️ by WPCode
1-click Use in WordPress

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

After you could have added the code, go forward and the go to publish edit display to see if the ‘Add Media' button is now working in your WordPress weblog.

Notice: Including this code isn't a correct long-term answer since you nonetheless have a script that's inflicting the difficulty. A neater approach to discover the supply of the issue is through the use of the Examine software. It's going to present you console errors, which may lead you to the supply of the battle.

Troubleshoot Your Themes and Plugins

If you need a long-term repair for this difficulty, you then want to carry out some primary WordPress troubleshooting suggestions to determine which plugin or theme could also be inflicting the difficulty.

We strongly suggest that you simply do that in your staging web site as an alternative of a stay web site. Right here's a -by-step information on how to a WordPress staging web site.

Plus, all the most effective WordPress internet hosting corporations like Bluehost, SiteGround, WP Engine, and Liquid Internet provide one-click staging performance.

In your staging web site, you want to begin by deactivating all of your WordPress plugins after which seeing if this fastened the ‘Add Media' button. In that case, then this implies one of many plugins was inflicting the difficulty.

For extra particulars, you may see our information on how to WordPress plugins.

How to Fix Add Media Button Not Working in WordPress

Now you can activate the plugins one after the other, and after activating a plugin, simply test the ‘Add Media' button. This may allow you to discover out which plugin is inflicting the difficulty.

After you discover the issue plugin, you may change it with one other plugin or ask the plugin creator for assist.

If deactivating plugins doesn't remedy the difficulty, then the following step is to quickly swap to a default WordPress theme like Twenty Twenty-One or Twenty Twenty-.

How to Fix Add Media Button Not Working in WordPress

If switching to the default theme fixes the difficulty for you, then this implies your theme is inflicting the battle. You may then ask the theme creator for assist or swap to a WordPress theme.

As soon as you discover the supply of the issue in your staging web site, then you may apply the repair to your stay WordPress web site.

We hope this text helped you find out how to repair the ‘Add Media' button not working difficulty in WordPress. You may additionally need to see our listing of the most typical WordPress errors and the way to repair them and our knowledgeable picks for the most effective WordPress plugins for managing pictures.



is a digital marketing and web development enthusiast. She loves spending her time in front of her laptop, working on new projects and learning new things. When she's not busy with work, you can find her traveling the world in search of the best sushi!

Articles: 129

Leave a Reply

Your email address will not be published. Required fields are marked *