Using smileys in WordPess

| Last Updated: | In: 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.

Tags: , , ,


About: Prem Tiwari

Prem Tiwari is founder of freewebmentor.com and Software developer from New Delhi (India). Follow Prem's development codes on facebook, and make sure you check out freewebmentor.com for the latest in web development related Tips with the complete code.


You may also like:

Follow us!

Get Free Access of 350+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW