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 header, add the following code snippet to your functions.php file.
This code will simply unhook this function from the site header.
If you are a performance addict like me, then you would be interested in our free plugin to remove unnecessary code from your site header. Visit WPA UnPress page to get more information about it.
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 tries to follow a link. This is done using the computer’s normal DNS resolution mechanism; no connection to Google is used.
I recently switched my site theme to Goran which is really elegant and readable. However this theme lacks color customization feature. So I had to create a custom css to changing header, link and button colors. Here is my custom css for Goran WordPress theme:
You can add this css code to your WordPress using WP Add Custom CSS plugin.
If you want to share your own custom styles, let me know in the comments below.
WordPress allows you to embed videos so easily using oEmbed. You can easily add videos to your post just pasting their URL to your post. WordPress handles all the object and embed HTML for you. But this code is missing wmode parameter which is necessary for CSS z-index to work.
Continue reading “[How to] Make Auto-embedded Youtube Videos Obey z-index”