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:

StepFixWhy It Helps
1Clear browser cache or use Incognito modeChecks if it’s a browser-related problem
2Update WordPress, themes, and pluginsOld versions often cause bugs like this
3Deactivate all plugins, then activate one by oneFinds the plugin causing the conflict
4Switch to a default theme like Twenty Twenty-FourRules out theme-related issues
5Add 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

📌 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!

Scroll to Top