Using smileys in WordPess

Prem Tiwari - - WordPress

In today’s post i will explain how to use smileys with your WordPress website. Smileys express your emotions with a symbol. Smileys, also known as “emoticons,” are glyphs used to convey emotions in your writing. They are a great way to brighten up posts. In the most recent years, as social media has become widespread, emoticons have played a significant role in communication through technology.

Some examples are:

  • πŸ˜‰ is equivalent to smile emoticon
  • πŸ™‚ is equivalent to smile emoticon
  • πŸ™ is equivalent to sad emoticon
  • πŸ˜• is equivalent to confused emoticon

How to WordPress Handle Smileys?

By default, WordPress automatically converts text smileys to graphic images. When you type πŸ˜‰ in your post you see smile emoticon when you preview or publish your post.

To Turn off Graphic Smileys

If you turn off graphic smileys, whatever you type in plain text will remain, and be displayed, as plain text.

Go to your Admin Panel
Select Settings -> Writing
In the Formatting section, uncheck the box for “Convert emoticons like πŸ™‚ and πŸ˜› to graphics on display”

Turning off emoticons means that when you type πŸ˜‰ in a post you will see πŸ˜‰ when you preview or publish your post. So it doesn’t stop you from using emoticons as plain text. wink emoticon.

How Can I Have Different Smiley Images Appear?

The easiest way is to filter the smilies.

Upload the images you want with the same name to your server (say in wp-content/images/smilies) and put this in your theme’s function.php:

Thank you for giving time on freewebmentor community. Please don’t forget to subscribe our newsletter or join us on Facebook to be the first to learn the next great thing from freewebmentor.

About: Prem Tiwari

Prem Tiwari is the founder of and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

Tags: , , ,

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.