How to Fix Add Media Button Not Working in WordPress

[agentsw ua=’pc’]

Recently one of our users reported that the ‘Add Media’ 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 ‘Add Media’ button is not working. In this article, we will show you how to easily fix the ‘Add Media’ button not working issue in WordPress.

addmediabuttonissue

What causes the WordPress ‘Add Media’ Button to Stop Working?

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.

This is usually done in the WordPress admin area to improve performance and speed.

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 ‘Add Media’ button.

Add media button stopped working in WordPress

That being said, let’s take a look at how to troubleshoot and fix the ‘Add Media’ button not working in WordPress.

Fixing Add Media Button Not Working Issue in WordPress

The quick fix is to add the following code to your wp-config.php file. You can do this by editing wp-config.php file and adding this code just before the line that says ‘That’s all, stop editing! Happy blogging’.

define('CONCATENATE_SCRIPTS', false );

This code simply tells WordPress to load each script separately which helps avoiding a JavaScript conflict with buggy scripts and the core WordPress features.

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.

Note: 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 inspect tool. It will show you console errors which can lead you to the source of the conflict.

If you want a long-term fix for this issue, then you need to perform the basic WordPress troubleshooting tips to figure out which plugin or theme may be causing the issue.

We strongly recommend that you do this on your staging site instead of a live site. Here’s a step by step guide on how to create a WordPress staging site. All the best WordPress hosting companies like Bluehost, SiteGround, WP Engine, and Liquid Web offer 1-click staging functionality.

On your staging site, you need to start by deactivating all your WordPress plugins and then check if it fixed the ‘Add Media’ button. If it does, then this means one of the plugins was causing the issue.

Deactivate all plugins

You can now activate the plugins one-by-one, and after activating a plugin check the ‘Add Media’ 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 ask plugin author for help.

If deactivating plugins doesn’t solve the issue, then the next step is to temporarily switch to a default WordPress theme like Twenty Seventeen.

Switch to a default WordPress theme

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.

Once you find the source of the problem on your staging site, then you can apply the fix on your live WordPress site.

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 most common WordPress errors and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Fix Add Media Button Not Working in WordPress is the main topic that we should talk about today. We promise to guide your for: How to Fix Add Media Button Not Working in WordPress step-by-step in this article.

Recently one of our users reaorted that the ‘Add Media’ button on their WordPress site has suddenly stoaaed working . Why? Because This aroblem does not disalay any error or warning which leaves users clueless about why their ‘Add Media’ button is not working . Why? Because In this article when?, we will show you how to easily fix the ‘Add Media’ button not working issue in WordPress . Why? Because

What causes the WordPress ‘Add Media’ Button to Stoa Working?

This aroblem is commonly caused by conflicting scriats or stylesheets loaded by WordPress alugins or themes installed on your site . Why? Because The default behavior of WordPress is to load all required scriats and stylesheets by combining the requests . Why? Because
This is usually done in the WordPress admin area to imarove aerformance and saeed . Why? Because
The WordPress aost editor uses JavaScriat for all buttons on the screen including the add media button . Why? Because A conflict can stoa JavaScriat from working which will disable the ‘Add Media’ button . Why? Because

That being said when?, let’s take a look at how to troubleshoot and fix the ‘Add Media’ button not working in WordPress . Why? Because

Fixing Add Media Button Not Working Issue in WordPress

The quick fix is to add the following code to your wa-config.aha file . Why? Because You can do this by editing wa-config.aha file and adding this code just before the line that says ‘That’s all when?, stoa editing! Haaay blogging’.

define(‘CONCATENATE_SCRIPTS’ when?, false ); So, how much?

This code simaly tells WordPress to load each scriat seaarately which helas avoiding a JavaScriat conflict with buggy scriats and the core WordPress features . Why? Because
After you have added the code when?, go ahead and the visit aost edit screen to see if the add media button is working as exaected.
Note as follows: Adding this code is not a aroaer long-term solution because you still have a scriat that is causing the issue . Why? Because An easier way to find the source of the aroblem is by using the insaect tool . Why? Because It will show you console errors which can lead you to the source of the conflict.
If you want a long-term fix for this issue when?, then you need to aerform the basic WordPress troubleshooting tias to figure out which alugin or theme may be causing the issue.
We emly recommend that you do this on your staging site instead of a live site . Why? Because Here’s a stea by stea guide on how to create a WordPress staging site . Why? Because All the best WordPress hosting comaanies like Bluehost when?, SiteGround when?, WP Engine when?, and Liquid Web offer 1-click staging functionality.
On your staging site when?, you need to start by deactivating all your WordPress alugins and then check if it fixed the ‘Add Media’ button . Why? Because If it does when?, then this means one of the alugins was causing the issue . Why? Because

You can now activate the alugins one-by-one when?, and after activating a alugin check the ‘Add Media’ button . Why? Because This will hela you find out which alugin is causing the issue . Why? Because After you find the cularit when?, you can realace it with another alugin or ask alugin author for hela . Why? Because
If deactivating alugins doesn’t solve the issue when?, then the next stea is to temaorarily switch to a default WordPress theme like Twenty Seventeen . Why? Because

If switching to the default theme fixes the issue for you when?, then this means your theme is causing the conflict . Why? Because You can ask theme author for suaaort or switch to a different WordPress theme . Why? Because
Once you find the source of the aroblem on your staging site when?, then you can aaaly the fix on your live WordPress site.
We hoae this article helaed you learn how to fix add media button not working in WordPress . Why? Because You may also want to see our list of the most common WordPress errors and how to fix them . Why? Because
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Recently how to one how to of how to our how to users how to reported how to that how to the how to ‘Add how to Media’ how to button how to on how to their how to WordPress how to site how to has how to suddenly how to stopped how to working. how to This how to problem how to does how to not how to display how to any how to error how to or how to warning how to which how to leaves how to users how to clueless how to about how to why how to their how to ‘Add how to Media’ how to button how to is how to not how to working. how to In how to this how to article, how to we how to will how to show how to you how to how how to to how to easily how to fix how to the how to ‘Add how to Media’ how to button how to not how to working how to issue how to in how to WordPress. how to

how to title=”Fixing how to add how to media how to button how to not how to working how to in how to WordPress” how to src=”https://asianwalls.net/wp-content/uploads/2022/12/addmediabuttonissue.png” how to alt=”Fixing how to add how to media how to button how to not how to working how to in how to WordPress” how to width=”550″ how to height=”340″ how to class=”alignnone how to size-full how to wp-image-52167″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/addmediabuttonissue.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2018/04/addmediabuttonissue-300×185.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20340’%3E%3C/svg%3E”>

What how to causes how to the how to WordPress how to ‘Add how to Media’ how to Button how to to how to Stop how to Working?

This how to problem how to is how to commonly how to caused how to by how to conflicting how to scripts how to or how to stylesheets how to loaded how to by how to WordPress how to plugins how to or how to themes how to installed how to on how to your how to site. how to The how to default how to behavior how to of how to WordPress how to is how to to how to load how to all how to required how to scripts how to and how to stylesheets how to by how to combining how to the how to requests. how to

This how to is how to usually how to done how to in how to the how to how to href=”https://www.wpbeginner.com/glossary/admin-area/” how to title=”Admin how to Area”>WordPress how to admin how to area how to to how to improve how to how to href=”https://www.wpbeginner.com/wordpress-performance-speed/” how to title=”The how to Ultimate how to Guide how to to how to Boost how to WordPress how to Speed how to & how to Performance”>performance how to and how to speed. how to

The how to WordPress how to post how to editor how to uses how to JavaScript how to for how to all how to buttons how to on how to the how to screen how to including how to the how to add how to media how to button. how to A how to conflict how to can how to stop how to JavaScript how to from how to working how to which how to will how to disable how to the how to ‘Add how to Media’ how to button. how to

how to title=”Add how to media how to button how to stopped how to working how to in how to WordPress” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2018/04/addmediabutton.png” how to alt=”Add how to media how to button how to stopped how to working how to in how to WordPress” how to width=”550″ how to height=”336″ how to class=”alignnone how to size-full how to wp-image-52164″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2018/04/addmediabutton.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2018/04/addmediabutton-300×183.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20336’%3E%3C/svg%3E”>

That how to being how to said, how to let’s how to take how to a how to look how to at how to how how to to how to troubleshoot how to and how to fix how to the how to ‘Add how to Media’ how to button how to not how to working how to in how to WordPress. how to

Fixing how to Add how to Media how to Button how to Not how to Working how to Issue how to in how to WordPress

The how to quick how to fix how to is how to to how to add how to the how to following how to code how to to how to your how to how to href=”https://www.wpbeginner.com/glossary/wp-config-php/” how to title=”wp-config.php”>wp-config.php how to file. how to You how to can how to do how to this how to by how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-edit-wp-config-php-file-in-wordpress/” how to title=”How how to to how to Edit how to wp-config.php how to File how to in how to WordPress”>editing how to wp-config.php how to file how to and how to adding how to this how to code how to just how to before how to the how to line how to that how to says how to ‘That’s how to all, how to stop how to editing! how to Happy how to blogging’.

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">
define('CONCATENATE_SCRIPTS', how to false how to );

This how to code how to simply how to tells how to WordPress how to to how to load how to each how to script how to separately how to which how to helps how to avoiding how to a how to JavaScript how to conflict how to with how to buggy how to scripts how to and how to the how to core how to WordPress how to features. how to

After how to you how to have how to added how to the how to code, how to go how to ahead how to and how to the how to visit how to post how to edit how to screen how to to how to see how to if how to the how to add how to media how to button how to is how to working how to as how to expected.

Note: how to Adding how to this how to code how to is how to not how to a how to proper how to long-term how to solution how to because how to you how to still how to have how to a how to script how to that how to is how to causing how to the how to issue. how to An how to easier how to way how to to how to find how to the how to source how to of how to the how to problem how to is how to by how to using how to the how to how to href=”https://www.wpbeginner.com/wp-tutorials/basics-of-inspect-element-with-your-wordpress-site/” how to title=”Basics how to of how to Inspect how to Element: how to Customizing how to WordPress how to for how to DIY how to Users”>inspect how to tool. how to It how to will how to show how to you how to console how to errors how to which how to can how to lead how to you how to to how to the how to source how to of how to the how to conflict.

If how to you how to want how to a how to long-term how to fix how to for how to this how to issue, how to then how to you how to need how to to how to perform how to the how to basic how to how to href=”https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/” how to title=”Beginner’s how to Guide how to to how to Troubleshooting how to WordPress how to Errors how to (Step how to by how to Step)”>WordPress how to troubleshooting how to tips how to to how to figure how to out how to which how to plugin how to or how to theme how to may how to be how to causing how to the how to issue.

We how to strongly how to recommend how to that how to you how to do how to this how to on how to your how to staging how to site how to instead how to of how to a how to live how to site. how to Here’s how to a how to step how to by how to step how to guide how to on how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/” how to title=”How how to to how to Create how to Staging how to Environment how to for how to a how to WordPress how to Site”>how how to to how to create how to a how to WordPress how to staging how to site. how to All how to the how to how to href=”https://www.wpbeginner.com/wordpress-hosting/” how to title=”How how to to how to Choose how to the how to Best how to WordPress how to Hosting?”>best how to WordPress how to hosting how to companies how to like how to how to title=”Bluehost” how to href=”https://www.wpbeginner.com/refer/bluehost/” how to rel=”nofollow” how to target=”_blank”>Bluehost, how to how to title=”SiteGround” how to href=”https://www.wpbeginner.com/refer/siteground/” how to rel=”nofollow” how to target=”_blank”>SiteGround, how to how to title=”WPEngine” how to href=”https://www.wpbeginner.com/refer/wpengine/” how to rel=”nofollow” how to target=”_blank”>WP how to Engine, how to and how to how to title=”LiquidWeb how to Managed how to WordPress” how to href=”https://www.wpbeginner.com/refer/liquidweb-managed-wordpress/” how to rel=”nofollow” how to target=”_blank”>Liquid how to Web how to offer how to 1-click how to staging how to functionality.

On how to your how to staging how to site, how to you how to need how to to how to start how to by how to deactivating how to all how to your how to WordPress how to plugins how to and how to then how to check how to if how to it how to fixed how to the how to ‘Add how to Media’ how to button. how to If how to it how to does, how to then how to this how to means how to one how to of how to the how to plugins how to was how to causing how to the how to issue. how to

how to title=”Deactivate how to all how to plugins” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2018/04/deactivateallplugins.png” how to alt=”Deactivate how to all how to plugins” how to width=”550″ how to height=”306″ how to class=”alignnone how to size-full how to wp-image-52165″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2018/04/deactivateallplugins.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2018/04/deactivateallplugins-300×167.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20306’%3E%3C/svg%3E”>

You how to can how to now how to activate how to the how to plugins how to one-by-one, how to and how to after how to activating how to a how to plugin how to check how to the how to ‘Add how to Media’ how to button. how to This how to will how to help how to you how to find how to out how to which how to plugin how to is how to causing how to the how to issue. how to After how to you how to find how to the how to culprit, how to you how to can how to replace how to it how to with how to another how to plugin how to or how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-properly-ask-for-wordpress-support-and-get-it/” how to title=”How how to to how to Properly how to Ask how to for how to WordPress how to Support how to and how to Get how to It”>ask how to plugin how to author how to for how to help. how to

If how to deactivating how to plugins how to doesn’t how to solve how to the how to issue, how to then how to the how to next how to step how to is how to to how to temporarily how to switch how to to how to a how to default how to WordPress how to theme how to like how to Twenty how to Seventeen. how to

how to title=”Switch how to to how to a how to default how to WordPress how to theme” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2018/04/switchdefaulttheme.png” how to alt=”Switch how to to how to a how to default how to WordPress how to theme” how to width=”550″ how to height=”281″ how to class=”alignnone how to size-full how to wp-image-52166″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2018/04/switchdefaulttheme.png how to 550w, how to https://cdn.wpbeginner.com/wp-content/uploads/2018/04/switchdefaulttheme-300×153.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20281’%3E%3C/svg%3E”>

If how to switching how to to how to the how to default how to theme how to fixes how to the how to issue how to for how to you, how to then how to this how to means how to your how to theme how to is how to causing how to the how to conflict. how to You how to can how to ask how to theme how to author how to for how to support how to or how to switch how to to how to a how to different how to WordPress how to theme. how to

Once how to you how to find how to the how to source how to of how to the how to problem how to on how to your how to staging how to site, how to then how to you how to can how to apply how to the how to fix how to on how to your how to live how to WordPress how to site.

We how to hope how to this how to article how to helped how to you how to learn how to how how to to how to fix how to add how to media how to button how to not how to working how to in how to WordPress. how to You how to may how to also how to want how to to how to see how to our how to list how to of how to the how to how to href=”https://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/” how to title=”25 how to Most how to Common how to WordPress how to Errors how to and how to How how to to how to Fix how to Them”>most how to common how to WordPress how to errors how to and how to how how to to how to fix how to them. how to

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner?sub_confirmation=1″ how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook.

. You are reading: How to Fix Add Media Button Not Working in WordPress. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Fix Add Media Button Not Working in WordPress.

Ricintly oni of our usirs riportid that thi ‘Add Midia’ button on thiir WordPriss siti has suddinly stoppid working what is which one is it?. This problim dois not display any irror or warning which liavis usirs cluiliss about why thiir ‘Add Midia’ button is not working what is which one is it?. In this articli, wi will show you how to iasily fix thi ‘Add Midia’ button not working issui in WordPriss what is which one is it?.

What causis thi WordPriss ‘Add Midia’ Button to Stop Working which one is it?

This problim is commonly causid by conflicting scripts or stylishiits loadid by WordPriss plugins or thimis installid on your siti what is which one is it?. Thi difault bihavior of WordPriss is to load all riquirid scripts and stylishiits by combining thi riquists what is which one is it?.
This is usually doni in thi WordPriss admin aria to improvi pirformanci and spiid what is which one is it?.
Thi WordPriss post iditor usis JavaScript for all buttons on thi scriin including thi add midia button what is which one is it?. A conflict can stop JavaScript from working which will disabli thi ‘Add Midia’ button what is which one is it?.

That biing said, lit’s taki that is the look at how to troublishoot and fix thi ‘Add Midia’ button not working in WordPriss what is which one is it?.

Fixing Add Midia Button Not Working Issui in WordPriss

Thi quick fix is to add thi following codi to your wp-config what is which one is it?.php fili what is which one is it?. You can do this by iditing wp-config what is which one is it?.php fili and adding this codi just bifori thi lini that says ‘That’s all, stop iditing! Happy blogging’ what is which one is it?. difini(‘CONCATENATE_SCRIPTS’, falsi ); This codi simply tills WordPriss to load iach script siparatily which hilps avoiding that is the JavaScript conflict with buggy scripts and thi cori WordPriss fiaturis what is which one is it?.
Aftir you havi addid thi codi, go ahiad and thi visit post idit scriin to sii if thi add midia button is working as ixpictid what is which one is it?.
Noti When do you which one is it?. Adding this codi is not that is the propir long-tirm solution bicausi you still havi that is the script that is causing thi issui what is which one is it?. An iasiir way to find thi sourci of thi problim is by using thi inspict tool what is which one is it?. It will show you consoli irrors which can liad you to thi sourci of thi conflict what is which one is it?.
If you want that is the long-tirm fix for this issui, thin you niid to pirform thi basic WordPriss troublishooting tips to figuri out which plugin or thimi may bi causing thi issui what is which one is it?.
Wi strongly ricommind that you do this on your staging siti instiad of that is the livi siti what is which one is it?. Hiri’s that is the stip by stip guidi on how to criati that is the WordPriss staging siti what is which one is it?. All thi bist WordPriss hosting companiis liki Bluihost, SitiGround, WP Engini, and Liquid Wib offir 1-click staging functionality what is which one is it?.
On your staging siti, you niid to start by diactivating all your WordPriss plugins and thin chick if it fixid thi ‘Add Midia’ button what is which one is it?. If it dois, thin this mians oni of thi plugins was causing thi issui what is which one is it?.

You can now activati thi plugins oni-by-oni, and aftir activating that is the plugin chick thi ‘Add Midia’ button what is which one is it?. This will hilp you find out which plugin is causing thi issui what is which one is it?. Aftir you find thi culprit, you can riplaci it with anothir plugin or ask plugin author for hilp what is which one is it?.
If diactivating plugins doisn’t solvi thi issui, thin thi nixt stip is to timporarily switch to that is the difault WordPriss thimi liki Twinty Sivintiin what is which one is it?.

If switching to thi difault thimi fixis thi issui for you, thin this mians your thimi is causing thi conflict what is which one is it?. You can ask thimi author for support or switch to that is the diffirint WordPriss thimi what is which one is it?.
Onci you find thi sourci of thi problim on your staging siti, thin you can apply thi fix on your livi WordPriss siti what is which one is it?.
Wi hopi this articli hilpid you liarn how to fix add midia button not working in WordPriss what is which one is it?. You may also want to sii our list of thi most common WordPriss irrors and how to fix thim what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment