WordPress “Add Media” button not working on 3.5 Fix

Though we have upgraded many sites to 3.5, this is the first time we have run into the problem of the “Add Media” button not working. When you click on it, nothing happens at all. But, don’t worry because there is a fix and it is very simple.

You need to open your “wp-config.php” file in the root of your WordPress Install. You can do this with an FTP program or a file manager from your hosting company.

Search for this line — it was near the bottom for us on the site we had an issue with.

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);

And just before it add this code:

define(‘CONCATENATE_SCRIPTS’, false );

So the final version now looks like:

/** Sets up WordPress vars and included files. */
define(‘CONCATENATE_SCRIPTS’, false );
require_once(ABSPATH . ‘wp-settings.php’);

Now your “Add Media” button should be working again.

Signed up For ClickTale

By Dave Fogel | January 12, 2011

We are always looking for better ways to get data from the web. Clicktale is a pretty cool product that allows you to generate heatmaps of you site and find out what people are doing. There is a free trial. Check it out. www.clicktale.com

Adding WordPress 3.0 Menu support to your older site

By Dave Fogel | January 12, 2011

I have come across this a few times when updating older sites to WordPress 3.0 that the fancy new menu system in WP3.0 doesn’t work. Fortunately, this is an easy fix. First off, you will be editing your functions.php file, so make a backup! Now, add this code to your funtions.php file: add_action( ‘init’, ‘register_my_menus’…

Having Multiple Footers in wordpress

By Dave Fogel | January 11, 2011

Sometimes I like to have multiple footers for a site, or at least one for the homepage and one for the rest of the site. Fortunetly, wordpress makes this really easy to do. WordPress has a special template tag for including them into your theme: This function will accept only one parameter, a string, which…

Posted in

Dave Fogel

Leave a Comment