{"id":26,"date":"2016-04-11T14:12:47","date_gmt":"2016-04-11T14:12:47","guid":{"rendered":"https:\/\/mightywp.com\/?p=26"},"modified":"2026-01-06T22:22:07","modified_gmt":"2026-01-06T22:22:07","slug":"clean-up-wordpress-head","status":"publish","type":"post","link":"https:\/\/mightywp.com\/clean-up-wordpress-head\/","title":{"rendered":"How to Clean up WordPress wp_head and Improve Page Speed"},"content":{"rendered":"\n<p>I started working with WordPress a couple of years ago when I decided to launch a couple of content sites. Since then, I&#8217;ve been working a lot with WordPress and generally loving it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Remove Code from the WordPress Header<\/h2>\n\n\n\n<p>WordPress includes code in the WordPress header that most people don&#8217;t need. Using a function, <a href=\"https:\/\/developer.wordpress.org\/reference\/hooks\/wp_head\/\">wp_head()<\/a>, a lot of code is added by WordPress core, plugins, and themes.<\/p>\n\n\n\n<p>Much of this code is unnecessary for your site, and removing it will not affect your site most of the time and will help improve your site&#8217;s performance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How can we remove unwanted code?<\/h3>\n\n\n\n<p>One of our options is adding code to a file called <strong>functions.php<\/strong> which is included with every theme folder. The file can be found at<\/p>\n\n\n\n<p><strong>\/wp-content\/themes\/your-theme\/functions.php<\/strong><\/p>\n\n\n\n<p>What code can you remove from wp_head? I will list the most common ones you can usually remove from your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What we will be removing from <strong>wp_head()<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#4-remove-the-wlw-manifest-link\">WLW Manifest link (Windows Live Writer)<\/a><\/li>\n\n\n\n<li><a href=\"#generator\">WordPress Generator<\/a><\/li>\n\n\n\n<li><a href=\"#shortlink\">Shortlink<\/a><\/li>\n\n\n\n<li><a href=\"#rsd\">Really Simple Discovery<\/a><\/li>\n\n\n\n<li><a href=\"#robots\">Robots Meta Tag<\/a><\/li>\n\n\n\n<li><a href=\"#emojis\">Emojis<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-remove-the-wlw-manifest-link\">WLW Manifest link (Windows Live Writer)<\/h3>\n\n\n\n<p>This is the code that displays a link to enable support for Windows Live Writer. I don\u2019t need that on my sites, so I\u2019ll remove it.<\/p>\n\n\n\n<p>By default, this is the code added by WordPress:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">HTML<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;link rel=\"wlwmanifest\" type=\"application\/wlwmanifest+xml\" href=\"https:\/\/mightywp.com\/wp-includes\/wlwmanifest.xml\" \/><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ADBAC7\">&lt;<\/span><span style=\"color: #8DDB8C\">link<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">rel<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;wlwmanifest&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">type<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;application\/wlwmanifest+xml&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">href<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;https:\/\/mightywp.com\/wp-includes\/wlwmanifest.xml&quot;<\/span><span style=\"color: #ADBAC7\"> \/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>To remove, add the following code to the <strong>functions.php<\/strong> file:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>remove_action('wp_head', 'wlwmanifest_link');<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCBDFB\">remove_action<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&#39;wp_head&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #96D0FF\">&#39;wlwmanifest_link&#39;<\/span><span style=\"color: #ADBAC7\">);<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"generator\">WordPress Generator<\/h3>\n\n\n\n<p>This code places the WordPress version being used on your site. That information is unnecessary to anyone else, so I choose to remove it.<\/p>\n\n\n\n<p>By default, this is the code added by WordPress:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">HTML<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;meta name=\"generator\" content=\"WordPress 6.9.0\" \/><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ADBAC7\">&lt;<\/span><span style=\"color: #8DDB8C\">meta<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">name<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;generator&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">content<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;WordPress 6.9.0&quot;<\/span><span style=\"color: #ADBAC7\"> \/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>To remove, add the following code to the <strong>functions.php<\/strong> file:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>remove_action('wp_head', 'wp_generator');\nadd_filter('the_generator', '__return_null');<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCBDFB\">remove_action<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&#39;wp_head&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #96D0FF\">&#39;wp_generator&#39;<\/span><span style=\"color: #ADBAC7\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCBDFB\">add_filter<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&#39;the_generator&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #96D0FF\">&#39;__return_null&#39;<\/span><span style=\"color: #ADBAC7\">);<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>The second line removes WordPress version information from RSS feeds.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"shortlink\">Shortlink<\/h3>\n\n\n\n<p>Shortlink adds, as the name indicates, a shorter link to your page. We already have a link to each post, and even if we remove it from the header, it will still work, so I prefer to remove it.<\/p>\n\n\n\n<p>By default, this is the code added by WordPress:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">HTML<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;link rel=\"shortlink\" href=\"https:\/\/mightywp.com\/\"><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ADBAC7\">&lt;<\/span><span style=\"color: #8DDB8C\">link<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">rel<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;shortlink&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">href<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;https:\/\/mightywp.com\/&quot;<\/span><span style=\"color: #ADBAC7\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>To remove, add the following code to the <strong>functions.php<\/strong> file:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0 ); <\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCBDFB\">remove_action<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&#39;wp_head&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #96D0FF\">&#39;wp_shortlink_wp_head&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #6CB6FF\">10<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\"> ); <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"rsd\">Really Simple Discovery<\/h3>\n\n\n\n<p>This code adds a line with the Really Simple Discovery service link. Third-party services connect to WordPress through this link to work on your site. If you don&#8217;t use any third-party integration, it&#8217;s safe to assume you can remove it.<\/p>\n\n\n\n<p>By default, this is the code added by WordPress:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">HTML<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;link rel=\"EditURI\" type=\"application\/rsd+xml\" title=\"RSD\" href=\"https:\/\/mightywp.com\/xmlrpc.php?rsd\" \/><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ADBAC7\">&lt;<\/span><span style=\"color: #8DDB8C\">link<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">rel<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;EditURI&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">type<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;application\/rsd+xml&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">title<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;RSD&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">href<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&quot;https:\/\/mightywp.com\/xmlrpc.php?rsd&quot;<\/span><span style=\"color: #ADBAC7\"> \/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>To remove, add the following code to the <strong>functions.php<\/strong> file:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>remove_action('wp_head', 'rsd_link');<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCBDFB\">remove_action<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&#39;wp_head&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #96D0FF\">&#39;rsd_link&#39;<\/span><span style=\"color: #ADBAC7\">);<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"robots\">Robots Meta Tag<\/h3>\n\n\n\n<p>In WordPress 5.7, it was <a href=\"https:\/\/make.wordpress.org\/core\/2021\/02\/19\/robots-api-and-max-image-preview-directive-in-wordpress-5-7\/\" target=\"_blank\" rel=\"noopener\">added<\/a> a new function that adds a robots meta tag to the header.<\/p>\n\n\n\n<p>If you use an SEO plugin, you can end with duplicated meta tags. To prevent this, I also removed this one.<\/p>\n\n\n\n<p>By default, this is the code added by WordPress:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">HTML<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;meta name='robots' content='max-image-preview:large' \/><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ADBAC7\">&lt;<\/span><span style=\"color: #8DDB8C\">meta<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">name<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&#39;robots&#39;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">content<\/span><span style=\"color: #ADBAC7\">=<\/span><span style=\"color: #96D0FF\">&#39;max-image-preview:large&#39;<\/span><span style=\"color: #ADBAC7\"> \/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>To remove, add the following code to the <strong>functions.php<\/strong> file:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>remove_filter('wp_robots', wp_robots_max_image_preview_large');<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCBDFB\">remove_filter<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&#39;wp_robots&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #6CB6FF\">wp_robots_max_image_preview_large<\/span><span style=\"color: #96D0FF\">&#39;);<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"emojis\">Emojis<\/h3>\n\n\n\n<p>Emojis were added to WordPress in version 4.2.0 to improve support for older browsers.<\/p>\n\n\n\n<p>I never liked that we weren\u2019t allowed to disable emojis on our site inside WordPress admin.<\/p>\n\n\n\n<p>They add too much code, so I always remove them.<\/p>\n\n\n\n<p>By default, this is the code added by WordPress:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">JavaScript<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;script type=\"text\/javascript\">\nwindow._wpemojiSettings = {\"baseUrl\":\"https:\\\/\\\/s.w.org\\\/images\\\/core\\\/emoji\\\/14.0.0\\\/72x72\\\/\",\"ext\":\".png\",\"svgUrl\":\"https:\\\/\\\/s.w.org\\\/images\\\/core\\\/emoji\\\/14.0.0\\\/svg\\\/\",\"svgExt\":\".svg\",\"source\":{\"concatemoji\":\"https:\\\/\\\/mightywp.com\\\/wp-includes\\\/js\\\/wp-emoji-release.min.js?ver=6.2\"}};\n\/*! This file is auto-generated *\/\n!function(e,a,t){var n,r,o,i=a.createElement(\"canvas\"),p=i.getContext&amp;&amp;i.getContext(\"2d\");function s(e,t){p.clearRect(0,0,i.width,i.height),p.fillText(e,0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(t,0,0),e===i.toDataURL()}function c(e){var t=a.createElement(\"script\");t.src=e,t.defer=t.type=\"text\/javascript\",a.getElementsByTagName(\"head\")&#91;0&#93;.appendChild(t)}for(o=Array(\"flag\",\"emoji\"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r&lt;o.length;r++)t.supports[o&#91;r&#93;]=function(e){if(p&amp;&amp;p.fillText)switch(p.textBaseline=\"top\",p.font=\"600 32px Arial\",e){case\"flag\":return s(\"\\ud83c\\udff3\\ufe0f\\u200d\\u26a7\\ufe0f\",\"\\ud83c\\udff3\\ufe0f\\u200b\\u26a7\\ufe0f\")?!1:!s(\"\\ud83c\\uddfa\\ud83c\\uddf3\",\"\\ud83c\\uddfa\\u200b\\ud83c\\uddf3\")&amp;&amp;!s(\"\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc65\\udb40\\udc6e\\udb40\\udc67\\udb40\\udc7f\",\"\\ud83c\\udff4\\u200b\\udb40\\udc67\\u200b\\udb40\\udc62\\u200b\\udb40\\udc65\\u200b\\udb40\\udc6e\\u200b\\udb40\\udc67\\u200b\\udb40\\udc7f\");case\"emoji\":return!s(\"\\ud83e\\udef1\\ud83c\\udffb\\u200d\\ud83e\\udef2\\ud83c\\udfff\",\"\\ud83e\\udef1\\ud83c\\udffb\\u200b\\ud83e\\udef2\\ud83c\\udfff\")}return!1}(o&#91;r&#93;),t.supports.everything=t.supports.everything&amp;&amp;t.supports[o&#91;r&#93;],\"flag\"!==o&#91;r&#93;&amp;&amp;(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&amp;&amp;t.supports[o&#91;r&#93;]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&amp;&amp;!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener(\"DOMContentLoaded\",n,!1),e.addEventListener(\"load\",n,!1)):(e.attachEvent(\"onload\",n),a.attachEvent(\"onreadystatechange\",function(){\"complete\"===a.readyState&amp;&amp;t.readyCallback()})),(e=t.source||{}).concatemoji?c(e.concatemoji):e.wpemoji&amp;&amp;e.twemoji&amp;&amp;(c(e.twemoji),c(e.wpemoji)))}(window,document,window._wpemojiSettings);\n&lt;\/script><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ADBAC7\">&lt;<\/span><span style=\"color: #8DDB8C\">script<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">type<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #96D0FF\">&quot;text\/javascript&quot;<\/span><span style=\"color: #ADBAC7\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">window._wpemojiSettings = <\/span><span style=\"color: #F47067\">{<\/span><span style=\"color: #96D0FF\">&quot;baseUrl&quot;<\/span><span style=\"color: #ADBAC7\">:<\/span><span style=\"color: #96D0FF\">&quot;https:<\/span><span style=\"color: #F47067\">\\\/\\\/<\/span><span style=\"color: #96D0FF\">s.w.org<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">images<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">core<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">emoji<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">14.0.0<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">72x72<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;ext&quot;<\/span><span style=\"color: #ADBAC7\">:<\/span><span style=\"color: #96D0FF\">&quot;.png&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;svgUrl&quot;<\/span><span style=\"color: #ADBAC7\">:<\/span><span style=\"color: #96D0FF\">&quot;https:<\/span><span style=\"color: #F47067\">\\\/\\\/<\/span><span style=\"color: #96D0FF\">s.w.org<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">images<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">core<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">emoji<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">14.0.0<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">svg<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;svgExt&quot;<\/span><span style=\"color: #ADBAC7\">:<\/span><span style=\"color: #96D0FF\">&quot;.svg&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;source&quot;<\/span><span style=\"color: #ADBAC7\">:{<\/span><span style=\"color: #96D0FF\">&quot;concatemoji&quot;<\/span><span style=\"color: #ADBAC7\">:<\/span><span style=\"color: #96D0FF\">&quot;https:<\/span><span style=\"color: #F47067\">\\\/\\\/<\/span><span style=\"color: #96D0FF\">mightywp.com<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">wp-includes<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">js<\/span><span style=\"color: #F47067\">\\\/<\/span><span style=\"color: #96D0FF\">wp-emoji-release.min.js?ver=6.2&quot;<\/span><span style=\"color: #ADBAC7\">}<\/span><span style=\"color: #F47067\">}<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\/*! This file is auto-generated *\/<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">!function(e,a,t)<\/span><span style=\"color: #F47067\">{<\/span><span style=\"color: #ADBAC7\">var n,r,o,i<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">a.<\/span><span style=\"color: #DCBDFB\">createElement<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;canvas&quot;<\/span><span style=\"color: #ADBAC7\">),p<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">i.getContext<\/span><span style=\"color: #F47067\">&amp;&amp;<\/span><span style=\"color: #ADBAC7\">i.<\/span><span style=\"color: #DCBDFB\">getContext<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;2d&quot;<\/span><span style=\"color: #ADBAC7\">);<\/span><span style=\"color: #F47067\">function<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">s<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #F69D50\">e<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #F69D50\">t<\/span><span style=\"color: #ADBAC7\">){p.<\/span><span style=\"color: #DCBDFB\">clearRect<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">,i.width,i.height),p.<\/span><span style=\"color: #DCBDFB\">fillText<\/span><span style=\"color: #ADBAC7\">(e,<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">);e<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">i.<\/span><span style=\"color: #DCBDFB\">toDataURL<\/span><span style=\"color: #ADBAC7\">();<\/span><span style=\"color: #F47067\">return<\/span><span style=\"color: #ADBAC7\"> p.<\/span><span style=\"color: #DCBDFB\">clearRect<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">,i.width,i.height),p.<\/span><span style=\"color: #DCBDFB\">fillText<\/span><span style=\"color: #ADBAC7\">(t,<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">),e<\/span><span style=\"color: #F47067\">===<\/span><span style=\"color: #ADBAC7\">i.<\/span><span style=\"color: #DCBDFB\">toDataURL<\/span><span style=\"color: #ADBAC7\">()}<\/span><span style=\"color: #F47067\">function<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">c<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #F69D50\">e<\/span><span style=\"color: #ADBAC7\">){<\/span><span style=\"color: #F47067\">var<\/span><span style=\"color: #ADBAC7\"> t<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">a.<\/span><span style=\"color: #DCBDFB\">createElement<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;script&quot;<\/span><span style=\"color: #ADBAC7\">);t.src<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">e,t.defer<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">t.type<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #96D0FF\">&quot;text\/javascript&quot;<\/span><span style=\"color: #ADBAC7\">,a.<\/span><span style=\"color: #DCBDFB\">getElementsByTagName<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;head&quot;<\/span><span style=\"color: #ADBAC7\">)&#91;<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">&#93;.<\/span><span style=\"color: #DCBDFB\">appendChild<\/span><span style=\"color: #ADBAC7\">(t)}<\/span><span style=\"color: #DCBDFB\">for<\/span><span style=\"color: #ADBAC7\">(o<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #DCBDFB\">Array<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;flag&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;emoji&quot;<\/span><span style=\"color: #ADBAC7\">),t.supports<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">{everything:<\/span><span style=\"color: #F47067\">!<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">,everythingExceptFlag:<\/span><span style=\"color: #F47067\">!<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">},r<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">;r<\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #ADBAC7\">o.<\/span><span style=\"color: #6CB6FF\">length<\/span><span style=\"color: #ADBAC7\">;r<\/span><span style=\"color: #F47067\">++<\/span><span style=\"color: #ADBAC7\">)t.supports[o&#91;r&#93;]<\/span><span style=\"color: #F47067\">=function<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #F69D50\">e<\/span><span style=\"color: #ADBAC7\">){<\/span><span style=\"color: #F47067\">if<\/span><span style=\"color: #ADBAC7\">(p<\/span><span style=\"color: #F47067\">&amp;&amp;<\/span><span style=\"color: #ADBAC7\">p.fillText)<\/span><span style=\"color: #F47067\">switch<\/span><span style=\"color: #ADBAC7\">(p.textBaseline<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #96D0FF\">&quot;top&quot;<\/span><span style=\"color: #ADBAC7\">,p.font<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #96D0FF\">&quot;600 32px Arial&quot;<\/span><span style=\"color: #ADBAC7\">,e){<\/span><span style=\"color: #F47067\">case<\/span><span style=\"color: #96D0FF\">&quot;flag&quot;<\/span><span style=\"color: #ADBAC7\">:<\/span><span style=\"color: #F47067\">return<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">s<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">\\ud83c\\udff3\\ufe0f\\u200d\\u26a7\\ufe0f<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">\\ud83c\\udff3\\ufe0f\\u200b\\u26a7\\ufe0f<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><span style=\"color: #F47067\">?!<\/span><span style=\"color: #6CB6FF\">1<\/span><span style=\"color: #F47067\">:!<\/span><span style=\"color: #DCBDFB\">s<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">\\ud83c\\uddfa\\ud83c\\uddf3<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">\\ud83c\\uddfa\\u200b\\ud83c\\uddf3<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><span style=\"color: #F47067\">&amp;&amp;!<\/span><span style=\"color: #DCBDFB\">s<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40\\udc65\\udb40\\udc6e\\udb40\\udc67\\udb40\\udc7f<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">\\ud83c\\udff4\\u200b\\udb40\\udc67\\u200b\\udb40\\udc62\\u200b\\udb40\\udc65\\u200b\\udb40\\udc6e\\u200b\\udb40\\udc67\\u200b\\udb40\\udc7f<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">);<\/span><span style=\"color: #F47067\">case<\/span><span style=\"color: #96D0FF\">&quot;emoji&quot;<\/span><span style=\"color: #ADBAC7\">:<\/span><span style=\"color: #F47067\">return!<\/span><span style=\"color: #DCBDFB\">s<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">\\ud83e\\udef1\\ud83c\\udffb\\u200d\\ud83e\\udef2\\ud83c\\udfff<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">\\ud83e\\udef1\\ud83c\\udffb\\u200b\\ud83e\\udef2\\ud83c\\udfff<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">)}<\/span><span style=\"color: #F47067\">return!<\/span><span style=\"color: #6CB6FF\">1<\/span><span style=\"color: #ADBAC7\">}(o&#91;r&#93;),t.supports.everything<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">t.supports.everything<\/span><span style=\"color: #F47067\">&amp;&amp;<\/span><span style=\"color: #ADBAC7\">t.supports[o&#91;r&#93;],<\/span><span style=\"color: #96D0FF\">&quot;flag&quot;<\/span><span style=\"color: #F47067\">!==<\/span><span style=\"color: #ADBAC7\">o&#91;r&#93;<\/span><span style=\"color: #F47067\">&amp;&amp;<\/span><span style=\"color: #ADBAC7\">(t.supports.everythingExceptFlag<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">t.supports.everythingExceptFlag<\/span><span style=\"color: #F47067\">&amp;&amp;<\/span><span style=\"color: #ADBAC7\">t.supports[o&#91;r&#93;]);t.supports.everythingExceptFlag<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">t.supports.everythingExceptFlag<\/span><span style=\"color: #F47067\">&amp;&amp;!<\/span><span style=\"color: #ADBAC7\">t.supports.flag,t.DOMReady<\/span><span style=\"color: #F47067\">=!<\/span><span style=\"color: #6CB6FF\">1<\/span><span style=\"color: #ADBAC7\">,t.<\/span><span style=\"color: #DCBDFB\">readyCallback<\/span><span style=\"color: #F47067\">=function<\/span><span style=\"color: #ADBAC7\">(){t.DOMReady<\/span><span style=\"color: #F47067\">=!<\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\">},t.supports.everything<\/span><span style=\"color: #F47067\">||<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #DCBDFB\">n<\/span><span style=\"color: #F47067\">=function<\/span><span style=\"color: #ADBAC7\">(){t.<\/span><span style=\"color: #DCBDFB\">readyCallback<\/span><span style=\"color: #ADBAC7\">()},a.addEventListener<\/span><span style=\"color: #F47067\">?<\/span><span style=\"color: #ADBAC7\">(a.<\/span><span style=\"color: #DCBDFB\">addEventListener<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;DOMContentLoaded&quot;<\/span><span style=\"color: #ADBAC7\">,n,<\/span><span style=\"color: #F47067\">!<\/span><span style=\"color: #6CB6FF\">1<\/span><span style=\"color: #ADBAC7\">),e.<\/span><span style=\"color: #DCBDFB\">addEventListener<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;load&quot;<\/span><span style=\"color: #ADBAC7\">,n,<\/span><span style=\"color: #F47067\">!<\/span><span style=\"color: #6CB6FF\">1<\/span><span style=\"color: #ADBAC7\">))<\/span><span style=\"color: #F47067\">:<\/span><span style=\"color: #ADBAC7\">(e.<\/span><span style=\"color: #DCBDFB\">attachEvent<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;onload&quot;<\/span><span style=\"color: #ADBAC7\">,n),a.<\/span><span style=\"color: #DCBDFB\">attachEvent<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #96D0FF\">&quot;onreadystatechange&quot;<\/span><span style=\"color: #ADBAC7\">,<\/span><span style=\"color: #F47067\">function<\/span><span style=\"color: #ADBAC7\">(){<\/span><span style=\"color: #96D0FF\">&quot;complete&quot;<\/span><span style=\"color: #F47067\">===<\/span><span style=\"color: #ADBAC7\">a.readyState<\/span><span style=\"color: #F47067\">&amp;&amp;<\/span><span style=\"color: #ADBAC7\">t.<\/span><span style=\"color: #DCBDFB\">readyCallback<\/span><span style=\"color: #ADBAC7\">()})),(e<\/span><span style=\"color: #F47067\">=<\/span><span style=\"color: #ADBAC7\">t.source<\/span><span style=\"color: #F47067\">||<\/span><span style=\"color: #ADBAC7\">{}).concatemoji<\/span><span style=\"color: #F47067\">?<\/span><span style=\"color: #DCBDFB\">c<\/span><span style=\"color: #ADBAC7\">(e.concatemoji)<\/span><span style=\"color: #F47067\">:<\/span><span style=\"color: #ADBAC7\">e.wpemoji<\/span><span style=\"color: #F47067\">&amp;&amp;<\/span><span style=\"color: #ADBAC7\">e.twemoji<\/span><span style=\"color: #F47067\">&amp;&amp;<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #DCBDFB\">c<\/span><span style=\"color: #ADBAC7\">(e.twemoji),<\/span><span style=\"color: #DCBDFB\">c<\/span><span style=\"color: #ADBAC7\">(e.wpemoji)))<\/span><span style=\"color: #F47067\">}<\/span><span style=\"color: #ADBAC7\">(window,document,window._wpemojiSettings);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&lt;\/<\/span><span style=\"color: #8DDB8C\">script<\/span><span style=\"color: #ADBAC7\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">CSS<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;style type=\"text\/css\">\nimg.wp-smiley,\nimg.emoji {\n\tdisplay: inline !important;\n\tborder: none !important;\n\tbox-shadow: none !important;\n\theight: 1em !important;\n\twidth: 1em !important;\n\tmargin: 0 0.07em !important;\n\tvertical-align: -0.1em !important;\n\tbackground: none !important;\n\tpadding: 0 !important;\n}\n&lt;\/style><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ADBAC7\">&lt;<\/span><span style=\"color: #8DDB8C\">style<\/span><span style=\"color: #ADBAC7\"> type=&quot;text\/css&quot;<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8DDB8C\">img<\/span><span style=\"color: #6CB6FF\">.wp-smiley<\/span><span style=\"color: #ADBAC7\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8DDB8C\">img<\/span><span style=\"color: #6CB6FF\">.emoji<\/span><span style=\"color: #ADBAC7\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">display<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">inline<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">border<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">none<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">box-shadow<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">none<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">height<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">1<\/span><span style=\"color: #F47067\">em<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">width<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">1<\/span><span style=\"color: #F47067\">em<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">margin<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">0.07<\/span><span style=\"color: #F47067\">em<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">vertical-align<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">-0.1<\/span><span style=\"color: #F47067\">em<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">background<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">none<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #6CB6FF\">padding<\/span><span style=\"color: #ADBAC7\">: <\/span><span style=\"color: #6CB6FF\">0<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">!important<\/span><span style=\"color: #ADBAC7\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&lt;\/<\/span><span style=\"color: #8DDB8C\">style<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>To remove, add the following code to the <strong>functions.php<\/strong> file:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#22272e\"><span style=\"background:#9eadbd;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#22272e\">PHP<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>remove_action( 'wp_head', 'print_emoji_detection_script', 7 );\nremove_action( 'wp_print_styles', 'print_emoji_styles' );<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCBDFB\">remove_action<\/span><span style=\"color: #ADBAC7\">( <\/span><span style=\"color: #96D0FF\">&#39;wp_head&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #96D0FF\">&#39;print_emoji_detection_script&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #6CB6FF\">7<\/span><span style=\"color: #ADBAC7\"> );<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCBDFB\">remove_action<\/span><span style=\"color: #ADBAC7\">( <\/span><span style=\"color: #96D0FF\">&#39;wp_print_styles&#39;<\/span><span style=\"color: #ADBAC7\">, <\/span><span style=\"color: #96D0FF\">&#39;print_emoji_styles&#39;<\/span><span style=\"color: #ADBAC7\"> );<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Final Notes<\/h2>\n\n\n\n<p>If you go ahead and remove code added by WordPress, don&#8217;t forget to test everything before adding these changes to your live site.<\/p>\n\n\n\n<p>By optimizing the WordPress head tag, you removed default WordPress actions that are not needed in most case scenarios.<\/p>\n\n\n\n<p>You&#8217;ll have a faster website, and your visitor&#8217;s experience will improve.<\/p>\n\n\n\n<p>Finally, if you create a WordPress theme and want to launch it publicly, you should not add this code to remove WordPress features.<\/p>\n\n\n\n<p>The reason is simple: you never know how someone will use your theme. They may need some of these features or all of them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to clean up your WordPress head from unnecessary code and improve your site performance.<\/p>\n","protected":false},"author":2,"featured_media":209,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_stopmodifiedupdate":true,"_modified_date":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-26","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":0,"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/media\/209"}],"wp:attachment":[{"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mightywp.com\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}