WordPress Add Media Button not working

WordPress Add Media Button not working

When you’re working with wordpress may be you have to face to this problem.This is a common issue in WordPress 3.5 version.When you going to create a new post or edit a post and if you click on “Add Media” button it is not working and nothing happened. If you updated wordpress this issue may be exist.The main reason is javascript/jquery conflicting.May be the Visual editor not working because of this issue.So I’m going to show how to fix this issue in few methods.

wordpress add-media-button-not-working

How to fix this Add Media Button not working issue


1-Open the wp-config.php from root wordpress directory.

2-Find this code in it.

3-add the following code before the above code.

As following.

*Script concatenation in admin area is normal behavior.

4-Save that file and check that button.If you’re already open that error post page reload that page for the check the button.

Still not fixed ?

1-Disable all plugins.Don’t afraid.Each Plugin settings are not resetting.Then check then it’s working or not.
2-Try to switch current theme to wordpress defalut theme.
3-If you are using cache plugin, clear the all cache with admin panel cache too.
4-If you are using minify plugin, clear the cache and disable that plugin and check for the button.

Now should be working the “Add Media” button.

Published by

Sumith Harshan

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.