Do you come across a situation where Add Media button fails to work as usual? With the need to upload media files, you are probably looking for how to get the issue solved. In fact, you are not the only one who has the same experience. To optimize for the best of the whole user base over a long term, professional solutions to fix Add Media Button not working issue are available in this article.
With a click on the Add Media button, WordPress will open Media Library where new files can be uploaded and uploaded files can be chosen. However, nothing happened even without any error or warning displayed. There is no surprise that you have no clue what is wrong with this functionality.
What Causes the WordPress ‘Add Media’ Button Issue?
Your WordPress admin area is the place to load the required scripts and stylesheets, which can result in the improved website speed.
Fix Add Media Button Not Working Issue in WordPress
When encountering that WordPress Add Media was not working, multiple solutions are available for you to fix it.
Method 1: Edit wp-config.php file
wp-config.php is a file which you can open from your WordPress root directory. There will be a line ‘ That’s all, stop editing! Happy blogging’ in the file. And the below code should be added before that.
Method 2: Deactivate all the plugins
In the long run, you’d better find the source of the issue with the use of an inspect tool. Thanks to the warnings and errors, you will have a better idea of where to start.
You have the need to disable the installed plugins one by one. Then check whether the error is fixed because of the deactivated plugin. This will help you find which plugin should be the cause and where the conflict is.
After checking plugins, find a great alternative to the one which causes the issue. Of course, you can also try to get technical assistance from the plugin developers at first.
Method 3: Switch to a Default Theme
If you still fail to fix the issue, your current theme can take the responsibility. Temporarily switch from your current theme to a default one, for example, Twenty Seventeen.
If the Add Media button can be responsive, your current theme should be replaced with a new one. Certainly, you can also give a chance to the theme author.