Wp Remove Wlwmanifest Header Php

[How To] Remove wlwmanifest from WordPress

WordPress automatically adds a wlwmanifest link to your site header for Windows Live Writer support. This is a link tag with a reference to your site’s wlwmanifest.xml file: <link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”https://wpassist.me/wp-includes/wlwmanifest.xml” /> However, this manifest is not used by most users out there. If you want to remove the wlwmanifest link from your site […]

Read more [How To] Remove wlwmanifest from WordPress

[How To] Disable feed URLs in WordPress

WordPress automatically generates RSS feed links on your page header. To disable automatic feed urls on your site header, you can use the following snippet. Copy the following code into your functions.php file to remove the header rss feed links; remove_action( ‘wp_head’, ‘feed_links_extra’, 3 ); remove_action( ‘wp_head’, ‘feed_links’, 2 );

Read more [How To] Disable feed URLs in WordPress

[How To] Remove DNS-Prefetch Links Without Plugin

Removing DNS-Prefetch from wp_head hook is a pretty easy task. Just add the following code snippet to your functions to remove DNS-Prefetch links on your header; // Remove dns-prefetch Link from WordPress Head (Frontend) remove_action( ‘wp_head’, ‘wp_resource_hints’, 2 ); What is DNS Prefetch? DNS prefetching is an attempt to resolve domain names before a user […]

Read more [How To] Remove DNS-Prefetch Links Without Plugin

[How To] Remove Block Library CSS from WordPress

Gutenberg editor, that is the default editor for latest WordPress installations, uses special CSS libraries to manage blocks on your site’s frontend. If you are using this new WP editor, it will automatically add this library CSS code on your site; <link rel=’stylesheet’ id=’wp-block-library-css’ href=’https://nextseasontv.com/wp-includes/css/dist/block-library/style.min.css’ type=’text/css’ media=’all’ /> But, if you are not using Gutenberg […]

Read more [How To] Remove Block Library CSS from WordPress

[How to] Add New Tags or Taxonomies to WordPress using PHP

function wpassist_insert_terms(){ $ahc = get_term_by(‘name’, ‘American Heroes Channel’, ‘post_tag’); if( !$ahc ){ wp_insert_term( ‘American Heroes Channel’, ‘post_tag’); wp_insert_term( ‘Discovery Channel’, ‘post_tag’); wp_insert_term( ‘Animal Planet’, ‘post_tag’); wp_insert_term( ‘USA Network’, ‘post_tag’); wp_insert_term( ‘Amazon’, ‘post_tag’); wp_insert_term( ‘TNT’, ‘post_tag’); } } add_action( ‘wp_head’, ‘wpassist_insert_terms’ );

Read more [How to] Add New Tags or Taxonomies to WordPress using PHP