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.

Removing “Allowed Tags” on the comment form.

By Dave Fogel | March 12, 2011

This solution is from the wordpress forums from Emsi.  It is not guaranteed to work on all themes, but it did work fine for me on my theme based on twenty ten. Follows these steps: 1. back up your functions.php file. 2. Add the following to your functions.php file function my_comment_form_args($user_identity, $post_id, $req) { $args…

How to remove the website field from the comment form

By Dave Fogel | March 12, 2011

I had a customer request to remove the website field in the comments.  You would think this would be a relatively simple thing to do, but not so.  After an hour of searching, I found a solution that worked great.  Here is the link. http://techhacking.com/2011/02/04/wordpress-how-to-remove-the-website-field-from-the-comment-form/

Google Website Optimizer and WordPress

By Dave Fogel | February 24, 2011

Today I started a test using Google Website Optimizer on WordPress. The manual way of doing this would mean you would need to create 3 different headers and input the correct tracking code in each. While it is not a ton of work, it is a pain in the butt. The better way to do…

Posted in

Dave Fogel

Leave a Comment