How to Disable WordPress/WordPress Emojis

WordPress continues to improve with new features in each new version. Some of these new features are so subtle that you might have overlooked them. For example, in version 4.2, WordPress adds a new set of Emojis that you can use to make your posts more interesting and expressive.

To display these emojis, WordPress loads the script, wp-emoji-phát hành.min.js, behind the scene. However, if you find that you don’t use Emoji much, there should be no problem loading this script and you may want to consider removing the feature. Here are two ways you can do so.

Method #1: Use WordPress Hooks

Assuming you have access to your WordPress theme directory, you can add a few lines to prevent the script from generating in the frontend.

  1. Navigate to your WordPress theme directory and open Hàm.php file.

  2. Add the following lines in the file.

    remove_action ('wp_head', 'print_emoji_detection_script', 7); remove_action ('wp_print_styles', 'print_emoji_styles');
  3. Save the file and reload the homepage or (any page) of your website. These lines will remove the script as well as the styles required to display all the Emojis together.

Method #2: Use a WordPress Plugin

If you are reluctant to edit Functions.phpyou can install a plugin instead.

  1. In the WordPress Admin, navigate through Plugins > Add New menu.

  2. Search: “Disable Emojis“. Plugin developed by Ryan Hellyer.

  3. Install and activate the plugin.

The plugin offers neither settings nor options; it works out of the box and Emoji now completely disabled. Using this plugin, Emoji is disabled will still be retained even if the theme is changed.

Read More:   How to Get Your Gravatar Image URL / WordPress

You can also deploy the plugin as a must-use plugin to prevent it from being disabled and this will affect all networks on your site.

If you added WordPress classic emojis in one or more of your old posts, disable emojis will leave :-) in plain text. If you like the old ways better, install the Classic Smiley plugin by Samuel Wood (Otto). This plugin, not only disables the new emoji, but also bring back old icons for you to use.

That’s it. Hope you find this tip helpful.

Last, Ched All sent you details about the topic “How to Disable WordPress/WordPress Emojis
❤️️”.Hope with useful information that the article “How to Disable WordPress/WordPress Emojis
” It will help readers to be more interested in “How to Disable WordPress/WordPress Emojis
[ ❤️️❤️️ ]”.

Posts “How to Disable WordPress/WordPress Emojis
” posted by on 2023-01-17 21:04:45. Thank you for reading the article at Chedall.com

Back to top button