How to Disable WordPress Emoticons

By default, WordPress automatically converts text smileys to graphic images. For example, when you type ;-) in your post you see 😉 when you preview or publish your post. Now, you want to disable this feature and would like to show only text. Here are two easy methods to disable these emoticons in wordpress.

Method #1: Using WordPress Filter

Assuming you have active child theme, you can add one line of code to prevent emojis to display on the frontend.

  • Go to your active theme directory and look for functions.php file.
  • Open it and add the following code at bottom of file.
    /*disable smilies*/
    add_filter( 'option_use_smilies', '__return_false' );
  • Save the file and that’s it. Now, reload the page with emojis.



Method #2: Using WordPress Plugin

If you don’t feel comfortable editing your active theme’s functions.php file. You can use this plugin called “Keep Emoticons as Text” to easily remove emojis and display only text on your website pages.
For this:

  • From your wordpress dashboard, navigate to Plugin > Add New menu.
  • Search for: “Keep Emoticons as Text”. This plugin is developed by Jaime Lerner – the Geek Goddess.
    How to Disable WordPress Emoticons
  • Install and activate the plugin.

This plugin does not offer settings or options; it works out-of-the-box and the Emoji should now be completely disabled.

Video Tutorial

Here is a video tutorial for you too!

That’s it. I hope you enjoyed this article.

Subscibe our youtube channel for premium themes customization videos and much more.

About Zahid Iqbal

Zahid Iqbal is a founder and ceo of MZ Creative Studio. He is a web developer and designer with over 3 years of experience. His mission is to provide best web services and useful tools to everyone round the globe.

4 thoughts on “How to Disable WordPress Emoticons

  1. Hi Ahmad,
    “Keep as text” or “disable emoji” is same thing. In both cases emoticons are displayed as text code. Also its good to use “Keep Emoticons as Text” plugin for this purpose.
    Thank you.

Leave a Reply

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

Do you have a website project you’d like to discuss?

Get in touch