If you’re using NitroPack to optimize your WordPress website, you’re already on the right track toward faster loading speeds and better performance scores. But if you’re wondering how to hide the NitroPack badge from the footer in your WordPress website, you’re not alone. Many users prefer a cleaner, more branded website appearance and feel that third-party badges disrupt the visual harmony of their layout.
In this article, we’ll walk you through multiple methods to hide the NitroPack badge, including simple CSS techniques and plugin settings. We’ll also touch on the ethical considerations of removing third-party branding and how to ensure your site remains compliant with NitroPack’s terms.
How to Hide NitroPack Badge from Footer in WordPress Website
You can remove the NitroPack badge from the WordPress footer using the following JavaScript code. However, avoid adding it directly to your theme’s header file. Instead, use a plugin designed for inserting header and footer scripts, and place the code within the header section using that plugin.
<script> jQuery(document).ready(function(){ setTimeout(function(){ //var tag_new = jQuery("template").eq(38).attr("id"); var tag_new = jQuery("template").last().attr("id"); console.log(tag_new); //alert(tag_new); jQuery("#" + tag_new).css("display", "none"); jQuery("#" + tag_new).next().next().css("display", "none"); }, 100); }); </script>
Why Does the NitroPack Badge Appear in WordPress Footers?
NitroPack is a powerful all-in-one performance optimization tool that boosts your website’s Core Web Vitals scores, improves Google PageSpeed rankings, and enhances user experience. When you integrate it with WordPress, NitroPack automatically applies optimizations like image compression, code minification, and caching.
However, if you’re using NitroPack’s free plan or some of its partner versions, the badge appears in the footer as a form of attribution. It usually reads something like “Powered by NitroPack,” linking back to their official site.
This badge can be a minor annoyance, especially for designers or business owners who want their site to look 100% custom. That’s why knowing how to hide the NitroPack badge from your WordPress footer is crucial.