Monday, November 30, 2020
Home Blogging How to Fix Add Media Button Not Working in WordPress

How to Fix Add Media Button Not Working in WordPress

Lately one in every of our customers reported that the ‘Add Media’ button on their WordPress web site has abruptly stopped working. This drawback doesn’t show any error or warning which leaves customers clueless about why their ‘Add Media’ button will not be working. On this article, we are going to present you easy methods to simply repair the ‘Add Media’ button not working subject in WordPress.

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

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

That is often performed within the WordPress admin space to enhance efficiency and velocity.

The WordPress publish 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 mentioned, let’s check out easy methods to troubleshoot and repair the ‘Add Media’ button not working in WordPress.

Fixing Add Media Button Not Working Difficulty 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 modifying wp-config.php file and including this code simply earlier than the road that claims ‘That’s all, cease modifying! Comfortable running a blog’.

1
define('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’ve got added the code, go forward and the go to publish edit display to see if the add media button is working as anticipated.

Observe: Including this code will not be a correct long-term resolution since you nonetheless have a script that’s inflicting the difficulty. A neater option to discover the supply of the issue is through the use of the examine software. It is going to present you console errors which may lead you to the supply of the battle.

If you’d like a long-term repair for this subject, then it’s essential carry out the fundamental WordPress troubleshooting suggestions to determine which plugin or theme could also be inflicting the difficulty.

We strongly advocate that you just do that in your staging web site as an alternative of a dwell web site. Right here’s a step-by-step information on easy methods to create a WordPress staging web site. All of the finest WordPress internet hosting firms like Bluehost, SiteGround, WP Engine, and Liquid Net supply 1-click staging performance.

In your staging web site, it’s essential begin by deactivating all of your WordPress plugins after which examine if it fastened the ‘Add Media’ button. If it does, then this implies one of many plugins was inflicting the difficulty.

Now you can activate the plugins one-by-one, and after activating a plugin examine the ‘Add Media’ button. This may aid you discover out which plugin is inflicting the difficulty. 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 clear up the difficulty, then the following step is to briefly swap to a default WordPress theme like Twenty Seventeen.

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

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

You May Also Like : How to Add Custom Post Status for Blog Posts in WordPress

We hope this text helped you discover ways to repair add media button not working in WordPress. You may additionally need to see our record of the most typical WordPress errors and easy methods to repair them.

If you liked this article, make sure to hit the bell for getting our latest updates and share this article with your friends in every social media platforms.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

How to Signup for Godaddy Affiliate Program & Start Making Money

GoDaddy is likely one of the well-liked model names out there of area and web-hosting. They are well-liked for a numerous cause, and so they...

How To Start Selling Website on Flippa: A Beginner’s Guide To Success

If you may have been working on-line for lengthy and into Website flipping, Flippa is one identify that you need to have heard of. Flippa is a...

How to Fix Your Connection is Not Private Error (Site Owners Guide)

Are you seeing ‘Your connection is not private’ error in your WordPress web site? This is the error message you’ll see on Google Chrome. The...

How to Fix the WordPress White Page of Death (Step by Step)

The WordPress white page of dying is one of the most widespread WordPress errors. It can also be one of the most irritating ones as...

Recent Comments