Fix “Add Media” Button Not Working in WordPress

If you click the “Add Media” button in WordPress and nothing happens, don’t panic. This is a common issue, especially after updates or plugin changes.
This blog explains why the button might stop working and shows easy step-by-step fixes to get it working again — no coding needed!
🔍 Why the “Add Media” Button Stops Working
Here are the most common causes:
- JavaScript conflicts between plugins or themes
- Old versions of WordPress or outdated plugins
- Missing or corrupted core files
- Broken jQuery loading
🛠️ Step-by-Step Fixes
Use the table below to fix the issue quickly:
Step | Fix | Why It Helps |
---|---|---|
1 | Clear browser cache or use Incognito mode | Checks if it’s a browser-related problem |
2 | Update WordPress, themes, and plugins | Old versions often cause bugs like this |
3 | Deactivate all plugins, then activate one by one | Finds the plugin causing the conflict |
4 | Switch to a default theme like Twenty Twenty-Four | Rules out theme-related issues |
5 | Add script manually in wp-config.php (see below) | Fixes jQuery loading problems |
🧩 Add jQuery Fix to wp-config.php
Sometimes WordPress doesn’t load jQuery correctly. You can force it to load properly with a small tweak:
define('CONCATENATE_SCRIPTS', false);
Add this just before the line that says:
/* That's all, stop editing! Happy publishing. */
💡 WordPress.org: Support thread on Add Media button issue
🔧 Use Developer Tools to Check for Errors
Right-click your page and select Inspect. Go to the Console tab and check for red error messages. These can help you identify if a plugin or script is breaking things.
🔗 Internal Resources from Gbcodies
🔗 Other Trusted Resources
- Stack Overflow: Add Media Button Issue
- WordPress.org: Media Library Usage
- WordPress Developer Docs: Enqueue Script
📌 Final Thoughts
The “Add Media” button not working in WordPress is annoying — but usually easy to fix. Try the simple steps above, especially clearing cache and checking plugins. If nothing works, seek help from your hosting provider or a WordPress expert.
Need more help? Drop a comment below or reach out through our contact page!