Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

the button WordPress



The button "add media" does not work even with the default theme Twenty Eleven, not with the chosen theme.
Any idea why??

i have the current wordpress installation in the site. version 3.5.
I have also disabled all plugins and nothing.
I have also changed the theme to the basic one and nothing.

ALso, not working on chrome, firefox and explorer.

Thanks in advance,

Answers (8)


Dbranes answers:

Hi, just one idea from:

<blockquote>On some hosting environments, aggressive settings for the "mod_pagespeed" addon can break the javascript code and cause scripts to not be able to function. This can cause many problems, such as widgets not working, menus not being draggable, the customizer not working, or the media screens not being available.

To fix the issue, you will need to disable mod_pagespeed, or adjust its settings to not take effect in the wp-admin directories. You may need to ask your hosting service for help on how to do this.

your site seems to be using it, i.e.


so this might or might not be a problem ;-)


this link will help you diagnose any javscript errors:

[[LINK href=""]][[/LINK]]

Dbranes comments:

you could try to place this code:

<IfModule pagespeed_module>
ModPagespeed off

at the top of an .htaccess file in the directory where you want to disable the modpagespeed module.

cloudnclear comments:

Thank you!!! It's working :-)


S├ębastien | French WordpressDesigner answers:

probably a problem with a function in functions.php of your choosen theme

cloudnclear comments:

i'm not sure as this problem occures also on the basic wordpress theme.


Arnav Joy answers:

which wp version are you using?

cloudnclear comments:

The latest. New site.

Arnav Joy comments:

if you have installed some plugins then try deactivating them .

take backup of your site first before doing it.

also test it in different browsers.

cloudnclear comments:

did all.
nothing is changing.


John Cotton answers:

Have a look in a javascript debugger and see if you are getting a js error - that's a common reason for that button not working.


phppoet answers:

Is it not working for admin or for all role like subscribers , contributors etc. Wordpress by default will show add media button to users with user role with upload_files attributes .

use this plugin
if you want to add upload_files attribute to contributor or author .


Rowela Alzona answers:

Try to switch back to the default theme like "twenty eleven" then try "add media" if it does work then it means its not the plugins fault but its your theme has a problem.

From there check your theme files.

Rowela Alzona comments:

Try then updating your wordpress version.
Empty your cache, refresh fully with keyboard combination CTRL + F5 and try with diffrent browsers.

Hope it helps.

Rowela Alzona comments:

Try using another computer :) and check it out.

cloudnclear comments:

also happens on different computers!

Rowela Alzona comments:

Must be problem with your hosting.
Send me the login info's and see if i can help.


Kevan Judah answers:

Sounds like the core WP files might be broken. Perhaps during the latest upgrade?
Under "Upgrade" in the dashboard, try the "Re-install Now" button.

This will re-install WP, not your theme, not your content, and perhaps fix the problem.


Asad Iqbal answers:

How did you install your wordpress? Using auto installer from hosting panel or manually by uploading files?