<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; add media button</title>
	<atom:link href="http://www.wpwife.com/category/add-media-button/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Fix Add Media Button Not Working in WordPress</title>
		<link>http://www.wpwife.com/tutorials/how-to-fix-add-media-button-not-working-in-wordpress</link>
		<comments>http://www.wpwife.com/tutorials/how-to-fix-add-media-button-not-working-in-wordpress#comments</comments>
		<pubDate>Thu, 26 Apr 2018 12:20:49 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[add media button]]></category>
		<category><![CDATA[common wordpress errors]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress errors]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=52159</guid>
		<description><![CDATA[
<p>Recently one of our users reported that the &#8216;Add Media&#8217; button on their WordPress site has suddenly stopped working. This problem does not display any error or warning which leaves users clueless about why their &#8216;Add Media&#8217; button is not working. In this article, we&#8230;&#160;<strong><a href="http://www.wpbeginner.com/wp-tutorials/how-to-fix-add-media-button-not-working-in-wordpress/">Read More &#187;</a></strong></p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/wp-tutorials/how-to-fix-add-media-button-not-working-in-wordpress/">How to Fix Add Media Button Not Working in WordPress</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Recently one of our users reported that the &#8216;Add Media&#8217; button on their WordPress site has suddenly stopped working. This problem does not display any error or warning which leaves users clueless about why their &#8216;Add Media&#8217; button is not working. In this article, we will show you how to easily fix the &#8216;Add Media&#8217; button not working issue in WordPress. </p>
<p><img title="Fixing add media button not working in WordPress" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/04/addmediabuttonissue.png" alt="Fixing add media button not working in WordPress" width="550" height="340" class="alignnone size-full wp-image-52167" /></p>
<h4>What causes the WordPress &#8216;Add Media&#8217; Button to Stop Working?</h4>
<p>This problem is commonly caused by conflicting scripts or stylesheets loaded by WordPress plugins or themes installed on your site. The default behavior of WordPress is to load all required scripts and stylesheets by combining the requests. </p>
<p>This is usually done in the <a href="http://www.wpbeginner.com/glossary/admin-area/" title="Admin Area">WordPress admin area</a> to improve <a href="http://www.wpbeginner.com/wordpress-performance-speed/" title="The Ultimate Guide to Boost WordPress Speed &amp; Performance">performance and speed</a>. </p>
<p>The WordPress post editor uses JavaScript for all buttons on the screen including the add media button. A conflict can stop JavaScript from working which will disable the &#8216;Add Media&#8217; button. </p>
<p><img title="Add media button stopped working in WordPress" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/04/addmediabutton.png" alt="Add media button stopped working in WordPress" width="550" height="336" class="alignnone size-full wp-image-52164" /></p>
<p>That being said, let&#8217;s take a look at how to troubleshoot and fix the &#8216;Add Media&#8217; button not working in WordPress. </p>
<h4>Fixing Add Media Button Not Working Issue in WordPress</h4>
<p>The quick fix is to add the following code to your <a href="http://www.wpbeginner.com/glossary/wp-config-php/" title="wp-config.php">wp-config.php</a> file. You can do this by <a href="http://www.wpbeginner.com/beginners-guide/how-to-edit-wp-config-php-file-in-wordpress/" title="How to Edit wp-config.php File in WordPress">editing wp-config.php file</a> and adding this code just before the line that says &#8216;That&#8217;s all, stop editing! Happy blogging&#8217;.</p>
<pre class="brush: php; title: ; notranslate">
define('CONCATENATE_SCRIPTS', false );
</pre>
<p>This code simply tells WordPress to load each script separately which helps avoiding a JavaScript conflict with buggy scripts and the core WordPress features. </p>
<p>After you have added the code, go ahead and the visit post edit screen to see if the add media button is working as expected.</p>
<p><strong>Note:</strong> Adding this code is not a proper long-term solution because you still have a script that is causing the issue. An easier way to find the source of the problem is by using the <a href="http://www.wpbeginner.com/wp-tutorials/basics-of-inspect-element-with-your-wordpress-site/" title="Basics of Inspect Element: Customizing WordPress for DIY Users">inspect tool</a>. It will show you console errors which can lead you to the source of the conflict.</p>
<p>If you want a long-term fix for this issue, then you need to perform the basic <a href="http://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/" title="Beginner’s Guide to Troubleshooting WordPress Errors (Step by Step)">WordPress troubleshooting tips</a> to figure out which plugin or theme may be causing the issue.</p>
<p>We strongly recommend that you do this on your staging site instead of a live site. Here&#8217;s a step by step guide on <a href="http://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/" title="How to Create Staging Environment for a WordPress Site">how to create a WordPress staging site</a>. All the <a href="http://www.wpbeginner.com/wordpress-hosting/" title="How to Choose the Best WordPress Hosting?">best WordPress hosting companies</a> like <a title="Bluehost" href="http://www.wpbeginner.com/refer/bluehost/" rel="nofollow"  >Bluehost</a>, <a title="SiteGround" href="http://www.wpbeginner.com/refer/siteground/" rel="nofollow"  >SiteGround</a>, <a title="WPEngine" href="http://www.wpbeginner.com/refer/wpengine/" rel="nofollow"  >WP Engine</a>, and <a title="LiquidWeb Managed WordPress" href="http://www.wpbeginner.com/refer/liquidweb-managed-wordpress/" rel="nofollow"  >Liquid Web</a> offer 1-click staging functionality.</p>
<p>On your staging site, you need to start by deactivating all your WordPress plugins and then check if it fixed the &#8216;Add Media&#8217; button. If it does, then this means one of the plugins was causing the issue. </p>
<p><img title="Deactivate all plugins" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/04/deactivateallplugins.png" alt="Deactivate all plugins" width="550" height="306" class="alignnone size-full wp-image-52165" /></p>
<p>You can now activate the plugins one-by-one, and after activating a plugin check the &#8216;Add Media&#8217; button. This will help you find out which plugin is causing the issue. After you find the culprit, you can replace it with another plugin or <a href="http://www.wpbeginner.com/beginners-guide/how-to-properly-ask-for-wordpress-support-and-get-it/" title="How to Properly Ask for WordPress Support and Get It">ask plugin author for help</a>. </p>
<p>If deactivating plugins doesn&#8217;t solve the issue, then the next step is to temporarily switch to a default WordPress theme like Twenty Seventeen. </p>
<p><img title="Switch to a default WordPress theme" src="http://cdn2.wpbeginner.com/wp-content/uploads/2018/04/switchdefaulttheme.png" alt="Switch to a default WordPress theme" width="550" height="281" class="alignnone size-full wp-image-52166" /></p>
<p>If switching to the default theme fixes the issue for you, then this means your theme is causing the conflict. You can ask theme author for support or switch to a different WordPress theme. </p>
<p>Once you find the source of the problem on your staging site, then you can apply the fix on your live WordPress site.</p>
<p>We hope this article helped you learn how to fix add media button not working in WordPress. You may also want to see our list of the <a href="http://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/" title="25 Most Common WordPress Errors and How to Fix Them">most common WordPress errors</a> and how to fix them. </p>
<p>If you liked this article, then please subscribe to our <a href="http://youtube.com/wpbeginner?sub_confirmation=1" title="WPBeginner on YouTube"  rel="nofollow">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="http://twitter.com/wpbeginner" title="WPBeginner on Twitter"  rel="nofollow">Twitter</a> and <a href="https://www.facebook.com/wpbeginner" title="WPBeginner on Facebook"  rel="nofollow">Facebook</a>.</p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/wp-tutorials/how-to-fix-add-media-button-not-working-in-wordpress/">How to Fix Add Media Button Not Working in WordPress</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/tutorials/how-to-fix-add-media-button-not-working-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
