Do you really need Emojis on your WordPress site?

You’ve probably heard about emojis. These small digital images (icons) help to visually represent an emotion, object or symbol. Nowadays, you can find emojis in messaging apps such as your smartphone’s text messaging, Viber and WhatsApp or social networking apps such as Facebook, Twitter, Instagram and Snapchat. 

It’s possible to have emojis on your site as well. WordPress 4.2 has introduced the native support for Emoji so you can use them anywhere on your WordPress site. To display these Emojis, WordPress loads an additional script and performs extra checks behind the scenes. This may be a great addition for some people but a lot of site owners simply don’t need Emoji.

If you don’t use emojis on your WordPress site then there is no need to load them because it adds additional load time which is totally unnecessary in this case. So, by disabling these Emojis, you’ll be able to improve your site performance a little bit.

Disable Emojis in WordPress

There are several ways to disable Emojis in WordPress, either using a plugin or inserting an extra code into your functions.php file.

Method #1: Using WordPress Plugin

The easiest way to disable Emojis on your WordPress site is to install a free plugin by Ryan Hellyer:

  1. In WordPress Dashboard, navigate to the Plugin → Add New menu.
  2. Search for “Disable Emojis”.
  3. Install and activate the plugin.

This plugin does not have any settings so there is nothing to configure.

Method #2: Adding Custom Code

If you do not want to install another plugin on your site, and you have access to your WordPress theme folder then open the functions.php file and add the following code into the bottom of your file:

Be very careful if you’ve decided to edit the source code of a WordPress theme because it could break your site if not done correctly.