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.
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’.
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.