How to disable wp_emojicons in your functions.php

How to disable wp_emojicons in your website.

Emojis are little icons used to express ideas or emotions

Don’t forget to back-up your functions.php before implementing these codes. WordPress automatically loads the file wp-emoji-release.min.js on the front-end of your WordPress website to help loading emojis that are part of the blogging feature of WordPress. This can slow your WordPress Website. So it is a good idea to disable wp_emojicons in your WordPress website installation.

WordPress Emojis is great for the users who need it, but most of the WordPress developers and professional websites have no need for emojis on their WordPress website. This of course can be easily ignored, as it is a few lines of code which need to be implemented in your theme functions.php file. However, it is a script that is being loaded into your WordPress site, and does factor into the loading speed of your site, no matter how little is impact can be. Disabling WordPress Emojies can help and Speed up your website.

Adding this code will remove wp-emoji-release.min.js and stop it from loading on your WordPress site. Again, do this only if you you’re not using emojis on your WordPress Website!

Removing this script is very easy and you need to add a few lines of code below in your functions.php file

Add these few lines of code to a PHP file that is being loaded, such as the functions.php file in your theme. Alternatively, you can create a very simple plugin with just that code in it.

Another bigger impact of disabling WordPress emojis, is the fact that it loads in the head of your WordPress website, and tools such like Google Page Speed Insights or Pingdom identify it as render-blocking JavaScript. This is something you will want to address if you are concerned with site loading time and site speed optimisation. Every SEO know the optimizing your website speed, is a big factor into improving your SEO score for the most Search engines like Google, Yahoo and Bing.

Autor: wpsnipp | Modified: April 22, 2019 at 9:45 pm

Leave a Reply

Your email address will not be published. Required fields are marked *

  • That’s awesome this piece of code speed my site results in GT Metrix and Pingdom. Thanks

  • Advertising

    Related posts

    What does the_content and get_the_content do in WordPress?

    What does the_content and get_the_content do in WordPress?

    The WordPress functions the_content and get_the_content are used to pull the main text area from the page or post. The difference between them …

    Change The Color Of Wordpress Admin Dashboard Icon In The Menu

    How to change Dash icon color in WordPress admin menu with CSS?

    Change the default color for dash icon in the admin menu Probably you have this question when you create a Custom WordPress Theme …