{"id":3384,"date":"2022-08-25T11:46:28","date_gmt":"2022-08-25T11:46:28","guid":{"rendered":"https:\/\/arzhost.com\/blogs\/?p=3384"},"modified":"2025-09-25T15:33:39","modified_gmt":"2025-09-25T10:33:39","slug":"wordpress-add-media-button-not-working","status":"publish","type":"post","link":"https:\/\/arzhost.com\/blogs\/wordpress-add-media-button-not-working\/","title":{"rendered":"WordPress Add Media Button Not Working"},"content":{"rendered":"<p>Today here at <a href=\"https:\/\/arzhost.com\/\">Arzhost<\/a>, we discuss why <span style=\"color: #000000;\"><strong>WordPress Add Media Button Not Working<\/strong><\/span>. We understand the annoyance. You decide to add some media because you are busy getting an article ready for publication, but to your dismay, the WordPress Add Media button not working its broken.<\/p>\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/LhJdL42jBYk\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>You don&#8217;t know what is wrong, and your workflow is suffering as a result. Which makes the issue irritating? In this post, we&#8217;ll explain in detail how to fix the Add Media button issue. With that said, let&#8217;s get started, and then please wow us with your comments and ideas.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/arzhost.com\/blogs\/wordpress-add-media-button-not-working\/#Reason_Behind_the_WordPress_Add_Media_Button_Not_Working\" >Reason Behind the WordPress Add Media Button Not Working<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/arzhost.com\/blogs\/wordpress-add-media-button-not-working\/#How_to_Resolve_WordPress_Add_Media_Button_Issues\" >How to Resolve WordPress Add Media Button Issues?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/arzhost.com\/blogs\/wordpress-add-media-button-not-working\/#Fixing_a_WordPress_Add_Media_Button_that_Is_Broken\" >Fixing a WordPress Add Media Button that Is Broken<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/arzhost.com\/blogs\/wordpress-add-media-button-not-working\/#Solution_for_the_Present\" >Solution for the Present<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/arzhost.com\/blogs\/wordpress-add-media-button-not-working\/#Monitoring_Your_Website_WordPress_Add_Media_Button_Not_Working\" >Monitoring Your Website WordPress Add Media Button Not Working<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/arzhost.com\/blogs\/wordpress-add-media-button-not-working\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Reason_Behind_the_WordPress_Add_Media_Button_Not_Working\"><\/span><strong>Reason Behind the WordPress Add Media Button Not Working<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Script conflicts between your WordPress themes and plugins are the most frequent cause of the <strong>WordPress Add Media Button Not Working<\/strong>. The Add Media button is one of several elements that the WordPress admin runs on JavaScript.<\/p>\n<p><a href=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/add-media-button-not-working.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone  wp-image-13905\" title=\"add media button not working\" src=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/add-media-button-not-working-300x157.jpg\" alt=\"add media button not working\" width=\"732\" height=\"383\" srcset=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/add-media-button-not-working-300x157.jpg 300w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/add-media-button-not-working-1024x536.jpg 1024w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/add-media-button-not-working-768x402.jpg 768w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/add-media-button-not-working.jpg 1200w\" sizes=\"(max-width: 732px) 100vw, 732px\" \/><\/a><\/p>\n<p>The JS script that controls the Add Media button cannot disable the button when it collides with any other script.<\/p>\n<p>The Insert into post WordPress Add Media Button Not Working is a closely related issue that is caused by permissions errors on a folder, especially when you migrate hosts, but it is a different story. Now that the cause of this issue is known, let&#8217;s investigate it and figure out how to cure the WordPress Add Media Button Not Working issue.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Resolve_WordPress_Add_Media_Button_Issues\"><\/span><strong>How to Resolve WordPress Add Media Button Issues?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Using an FTP client or File Manager, access your WordPress root directory and open the wp-config.php file for editing. Then, immediately before the line that reads, &#8220;That&#8217;s all, quit editing!&#8221; add the following code. Happy writing!<\/p>\n<p>Define (&#8216;CONCATENATE SCRIPTS&#8217;, false); Save changes to your wp-config.php file. Clear all of your caches, including the browser, plugin, third-party, and server caches, after logging out of your WordPress site.<\/p>\n<p><a href=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/how-to-resolve-wordpress-add-media-button-issues-1.jpg\"><img decoding=\"async\" class=\"alignnone  wp-image-13906\" title=\"how to resolve wordpress add media button issues\" src=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/how-to-resolve-wordpress-add-media-button-issues-1-300x157.jpg\" alt=\"how to resolve wordpress add media button issues\" width=\"730\" height=\"382\" srcset=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/how-to-resolve-wordpress-add-media-button-issues-1-300x157.jpg 300w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/how-to-resolve-wordpress-add-media-button-issues-1-1024x536.jpg 1024w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/how-to-resolve-wordpress-add-media-button-issues-1-768x402.jpg 768w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/how-to-resolve-wordpress-add-media-button-issues-1.jpg 1200w\" sizes=\"(max-width: 730px) 100vw, 730px\" \/><\/a><\/p>\n<p>Return to your WordPress admin account and verify that the <strong>WordPress Add Media Button Not Working<\/strong> is operational. The above-mentioned code merely instructs WordPress to load each script separately rather than mixing the requests, as it does by default. Conflicts are less likely when the scripts are loaded independently.<\/p>\n<p>Even while using this code is your best chance to solve the Add Media button. It is not a long-term fix because the issue suggests that you have incompatible scripts on your website, which you definitely want to fix.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Fixing_a_WordPress_Add_Media_Button_that_Is_Broken\"><\/span><strong>Fixing a WordPress Add Media Button that Is Broken<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Today, we fix WordPress Add Media Button Not Working. I&#8217;ll show you how to identify the issue and then fix a faulty Add Media button. I&#8217;ll walk you through a quick remedy and how to track the issue down and address it permanently. You won&#8217;t require any more plugins, but you will need access to the cPanel on your website.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Solution_for_the_Present\"><\/span><strong>Solution for the Present<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This approach will restore functionality, but it won&#8217;t address the underlying cause of the mistake. This method will simply add a line of code to your wp-config.php file that will tell <a href=\"https:\/\/en.wikipedia.org\/wiki\/WordPress\" target=\"_blank\" rel=\"noopener\">WordPress<\/a> to load one request at a time. If you have a lot of scripts active. This may probably slow down your website. But you will be able to use the Add Media option once more. The faulty script on your website will still need to be located; this is just a temporary fix.<\/p>\n<p>Begin by logging into cPanel and selecting the File Manager menu item. You can access all of the files connected to your website using File Manager. You need to locate your wp-config.php file. Press the public HTML directory button. Right-click on the <strong>wp-config.php<\/strong> file and select the Edit option.<\/p>\n<p><a href=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/solution-for-the-preesnt.jpg\"><img decoding=\"async\" class=\"alignnone  wp-image-13907\" title=\"solution for the preesnt\" src=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/solution-for-the-preesnt-300x157.jpg\" alt=\"solution for the preesnt\" width=\"732\" height=\"383\" srcset=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/solution-for-the-preesnt-300x157.jpg 300w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/solution-for-the-preesnt-1024x536.jpg 1024w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/solution-for-the-preesnt-768x402.jpg 768w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/solution-for-the-preesnt.jpg 1200w\" sizes=\"(max-width: 732px) 100vw, 732px\" \/><\/a><\/p>\n<p>You&#8217;ll see a pop-up window appear. Before making any changes, this box will prompt you to make a backup of your files. This will guarantee that, in the event that something goes wrong, you can restore your website to its previous operating state. Choose &#8220;Edit&#8221; from the menu. All of the file&#8217;s code will be displayed in a new tab.<\/p>\n<p>One script will load on your page at a time thanks to this code. This should prevent any incompatible scripts from creating issues. Once you have inserted the code into the wp-config.php file, click on the \u201cSave Changes\u201d button to finish.<\/p>\n<p>Now that your WordPress Add Media Button Not Working should be operational, don&#8217;t let your guard down just yet; you still need to identify the problematic script.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Monitoring_Your_Website_WordPress_Add_Media_Button_Not_Working\"><\/span><strong>Monitoring Your Website WordPress Add Media Button Not Working<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before going any further, it is crucial to remember that in order to adequately identify the problem&#8217;s root cause, the temporary fix must be undone.<\/p>\n<p>Any custom scripts you have added to your website should be checked first. They are the most likely origin of a WordPress difference. Since every custom script is different and numerous websites utilize various plugins and themes, it can be challenging to determine which scripts are at odds with one another. It varies depending on the webpage. To see if the issue is fixed, try disabling them.<\/p>\n<p><a href=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/monitoring-wordpress-website.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-13908\" title=\"monitoring wordpress website\" src=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/monitoring-wordpress-website-300x157.jpg\" alt=\"monitoring wordpress website\" width=\"732\" height=\"383\" srcset=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/monitoring-wordpress-website-300x157.jpg 300w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/monitoring-wordpress-website-1024x536.jpg 1024w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/monitoring-wordpress-website-768x402.jpg 768w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/09\/monitoring-wordpress-website.jpg 1200w\" sizes=\"(max-width: 732px) 100vw, 732px\" \/><\/a><\/p>\n<p>If so, you must determine why the script is posing a problem.<\/p>\n<p>The next most likely problem, if custom scripts are not to blame, is a plugin problem. You must individually deactivate each of your plugins before checking to see if the issue has been resolved. If so, the offending plugin has to be removed. Additionally, you ought to take the time to let the plugin&#8217;s creator know about the problem.<\/p>\n<p>Your theme should be checked last because it&#8217;s the simplest thing to do. Change the theme you&#8217;re using. I advise using the default WordPress theme, but any theme that is free of built-in plugins should function just fine.<\/p>\n<p>Even though it could take some time, if you are diligent, you should be able to identify the issue.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The WordPress Add Media Button Not Working frequently malfunctions as a result of a script clash on one of your websites. The line of code we added to wp-config.php we shared earlier should work like magic.<\/p>\n<p>Aside from that, we advise you to upgrade your WordPress site so that you can get rid of outdated scripts and code that could lead to conflicts and this issue. Remember to clean your cache after or before attempting the remedy in this post because it could mislead you into thinking you have a problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today here at Arzhost, we discuss why WordPress Add Media Button Not Working. We understand the annoyance. You decide to add some media because you are busy getting an article ready for publication, but to your dismay, the WordPress Add Media button not working its broken. You don&#8217;t know what is wrong, and your workflow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6491,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,18],"tags":[],"table_tags":[],"class_list":["post-3384","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","category-website"],"_links":{"self":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/3384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/comments?post=3384"}],"version-history":[{"count":4,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/3384\/revisions"}],"predecessor-version":[{"id":13909,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/3384\/revisions\/13909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media\/6491"}],"wp:attachment":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media?parent=3384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/categories?post=3384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/tags?post=3384"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/table_tags?post=3384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}