The new WordPress.com emoticons • WordPress Help

WordPress.com has just released some newer emoticons . They are very aesthetic, and more adapted to the Web of today. Personally, I love them. There is already an open ticket to include them in the WordPress created sites, but it is not known when they will be included.

One suggestion: If you write the emoticon code and put it in a bigger size, for example, Title 1 , it shows bigger. This is because these new faces are made in .svg format, and not in .gif.

They also left several for users to discover. There are emoticons that are inserted by writing things like : burrito :,: bear:, | _ | : idea: or (w).

The latter inserts the WordPress.com logo.

Here I took screenshots, because WordPress Help is not hosted on WordPress.com, so these emoticons would not work. Maybe they add them to JetPack, it would be good. If you want, you can try these little faces commenting in this post of my blog.

How to change the WordPress emoticons (part 2) • WordPress Help

Yesterday I discovered that since the last update I had lost my personalized smilies, to match my theme. Searching for here only appeared this other entry so to work …

For the one that interests you that whenever WordPress is updated you do not lose your personal smilies I leave my solution

First I create a folder "smilies " in the folder wp-content because this last folder does not suffer any updates.

In the file of the theme / wp-content / themes / THEMENAME / functions.php I create a function for the entries and another one for the comments.

function mis_smilies ( $ text ) {

$ text = convert_smilies ( convert_smilies ( $ text ) ) ]

$ text = str_replace ( 'wp-includes / images / smilies / icon _' [19659026] 'wp-content / smilies / icon _' $ text ) ;

return $ text ;

}

add_filter ( 'comment_text' [19659026] 'mis_smilies' ) ;

The main function would be str_replace () which will change the original URL (wp-includes / im ages / smilies /) for the folder in my smilies (wp-content / smilies /). In the entries, he only does that. In the comments I first have to convert the smilies codes into images and that's what WordPress does with the function convert_smilies () as I failed the code 8 ) I repeat the conversion and then change the folder

With these functions we could have different smilies for each theme (editing its functions.php file) and / or be different from the entries and the comments (changing the folder).

The controversy of the new emoticons for WordPress 2.9

These days I've been following the exciting controversy about the possible change of emoticons for WordPress 2.9 . What was proposed was to change the classics, which have been accompanying us for so many years, for a new set of smileys. In this page you can see both.

The original idea was to substitute in the WordPress core the classics for the Tango emoticons with GPL license, in order to give it an air new to this functionality of WordPress, but the controversy arose on several fronts.

On the one hand is the fact that an aesthetic change of this type should have been raised as a survey to users, as has been done on other occasions. Here was raised how new emoticons would accommodate both veteran users (most) and new ones.

Another discussion was about the issue of including them in the kernel, which generated possible transparency problems with Internet Explorer, but more important, the fact of incorporating a non-vital aspect in the core, more than tastes.

For now the discussion has been deadlocked with the proposal of Matt to add a new internal plugin to change the set of emoticons at the user's will.

How to change WordPress emoticons

 wordpree-smileys "title =" wordpree-smileys "width =" 480 "height =" 243 "class =" aligncenter size-full wp-image-4072 "/> </a></p>
<p> If you like to customize your site one of the possibilities is to change <a href= the default emoticons that come with WordPress to do it is very simple .

There are many collections out there of smileys (emoticons) that you can download and install in your WordPress to give your site a special and different touch.

To achieve this you only have to replace the existing ones, located in the folder ' / wp-includes / images / smilies / 'by others to your liking, here are a few collections:

As you may have noticed, in some packs I indicate that you must change the names of the files to those with WordPress by default. Now, you can modify this and let WordPress recognize your emoticons, or even add new ones, by editing the file ' functions.php ' located in the folder ' / wp-includes / 'that, from line 4,000, offers you the codes that you can modify, changing these lines or adding new ones:

': mrgreen: '=>' icon_mrgreen.gif ',
': neutral:' => 'icon_neutral.gif',
': twisted:' => 'icon_twisted.gif',
': arrow:' => 'icon_arrow.gif',
': shock:' => 'icon_eek.gif',
': smile:' => 'icon_smile.gif',
': ???:' => 'icon_confused.gif',
': cool:' => 'icon_cool.gif',
': evil:' => 'icon_evil.gif',
': grin:' => 'icon_biggrin.gif',
': idea:' => 'icon_idea.gif',
': oops:' => 'icon_redface.gif',
': razz:' => 'icon_razz.gif',
': roll:' => 'icon_rolleyes.gif',
': wink:' => 'icon_wink.gif',
': cry:' => 'icon_cry.gif',
': eek:' => 'icon_surprised.gif',
': lol:' => 'icon_lol.gif',
': mad:' => 'icon_mad.gif',
': sad:' => 'icon_sad.gif',
'8-)' => 'icon_cool.gif',
'8-O' => 'icon_eek.gif',
':-(' => 'icon_sad.gif',
':-)' => 'icon_smile.gif',
': -?' => 'icon_confused.gif',
':-D' => 'icon_biggrin.gif',
':-P' => 'icon_razz.gif',
': -o' => 'icon_surprised.gif',
': -x' => 'icon_mad.gif',
': - |' => 'icon_neutral.gif',
';-)' => 'icon_wink.gif',
'8)' => 'icon_cool.gif',
'8O' => 'icon_eek.gif',
':(' => 'icon_sad.gif',
':)' => 'icon_smile.gif',
':?' => 'icon_confused.gif',
': D' => 'icon_biggrin.gif',
': P' => 'icon_razz.gif',
': o' => 'icon_surprised.gif',
': x' => 'icon_mad.gif',
': |' => 'icon_neutral.gif',
';)' => 'icon_wink.gif',
':!:' => 'icon_exclaim.gif',
':?:' => 'icon_question.gif', 

And if, in addition, you want to modify the CSS by default of the emoticons either because you want to adapt new emoticons to the template or to customize them to your liking, you have to use the CSS class called wp-smiley. By default your template will show something similar to this:

 .post img {
    float: left;
} 

But this CSS affects all the images. If you want to use a different CSS we apply the class wp-smiley adding a new class, like this:

 img.wp-smiley {
    float: none;
} 

For example. Here you are the one who decides how to show the emoticons.

The entry How to change the WordPress emoticons first published Fernando Tellado in Help WordPress . Do not copy content, do not say anything good about you to your readers.

The WordPress Emoticons

Surely more than once you have wanted to use icons in the comments of a blog and you have not known how to use them, or you have simply stayed in the basics that are used in forums and chat. [19659002] Of course, there are ways to make life easier for blog readers, using plugins most of the time, and not having to remember how emoticons are inserted in a blog but since this is part of the culture of the network, in reality they do not use anything that did not already exist, and also the smileys plugins do not work very well that we say the majority, you better learn the most common ones.

You know, this post you have to have it in your favorite bookmarks until you learn them all, and I want to see how you practice in the comments : mrgreen:

* As you can see, there are times when you have several ways to insert the same emoticon